Enable pcagpio(4), and also consistently pcamux(4) while we're at it. With
authorpatrick <patrick@openbsd.org>
Sat, 24 Dec 2022 10:51:27 +0000 (10:51 +0000)
committerpatrick <patrick@openbsd.org>
Sat, 24 Dec 2022 10:51:27 +0000 (10:51 +0000)
this the SFP port on the ClearFog Base (CN9130) starts to work, as the SFP
slot has some GPIOs routed through a GPIO extender.

ok dlg@ kettenis@

sys/arch/arm64/conf/GENERIC
sys/arch/arm64/conf/RAMDISK

index 9788fcf..cbad3c8 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.251 2022/12/17 11:56:44 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.252 2022/12/24 10:51:27 patrick Exp $
 #
 # GENERIC machine description file
 #
@@ -543,6 +543,7 @@ islrtc*             at iic?                 # ISL1208 RTC
 maxrtc*                at iic?                 # DS1307 RTC
 mcprtc*                at iic?                 # MCP794XX RTC
 mfokrtc*       at iic?                 # M41T8X RTC
+pcagpio*       at iic?                 # PCA9554 GPIO expander
 pcamux*                at iic?                 # PCA9548 multiplexer
 iic*           at pcamux?
 pcfrtc*                at iic?                 # PCF8523 RTC
index 727ebe9..9a93b39 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.185 2022/12/12 22:06:40 kettenis Exp $
+# $OpenBSD: RAMDISK,v 1.186 2022/12/24 10:51:27 patrick Exp $
 
 machine                arm64
 maxusers       4
@@ -364,6 +364,9 @@ islrtc*             at iic?                 # ISL1208 RTC
 maxrtc*                at iic?                 # DS1307 RTC
 mcprtc*                at iic?                 # MCP794XX RTC
 mfokrtc*       at iic?                 # M41T8X RTC
+pcagpio*       at iic?                 # PCA9554 GPIO expander
+pcamux*                at iic?                 # PCA9548 multiplexer
+iic*           at pcamux?
 pcfrtc*                at iic?                 # PCF8523 RTC
 pcxrtc*                at iic?                 # PCF8563 RTC
 pcyrtc*                at iic?                 # PCF85063A/TP RTC