summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/conf/ARMADA38X5
-rw-r--r--sys/arm/mv/files.mv2
-rw-r--r--sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts17
3 files changed, 22 insertions, 2 deletions
diff --git a/sys/arm/conf/ARMADA38X b/sys/arm/conf/ARMADA38X
index d64fd9a..8fce138 100644
--- a/sys/arm/conf/ARMADA38X
+++ b/sys/arm/conf/ARMADA38X
@@ -71,6 +71,11 @@ device iic
device iicbus
device twsi
+# LED drivers
+device gpio
+device pca9552
+device is31fl319x
+
# Wireless NIC cards
device wlan # 802.11 support
options IEEE80211_DEBUG # enable debug msgs
diff --git a/sys/arm/mv/files.mv b/sys/arm/mv/files.mv
index b37a2a6..90842e1 100644
--- a/sys/arm/mv/files.mv
+++ b/sys/arm/mv/files.mv
@@ -12,7 +12,7 @@
# - JTAG/ICE
# - Vector Floating Point (VFP) unit
#
-arm/mv/gpio.c optional gpio
+#arm/mv/gpio.c optional gpio
arm/mv/mv_common.c standard
arm/mv/mv_localbus.c standard
arm/mv/mv_machdep.c standard
diff --git a/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts b/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts
index e20f201..e0ef189 100644
--- a/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts
+++ b/sys/boot/fdt/dts/arm/armada-385-80300-0148-G00-X100.dts
@@ -134,11 +134,26 @@
* brick the board.
* Use this bus with caution.
*/
+
+ pca95520 {
+ compatible = "nxp,pca9552";
+ gpio-controller;
+ #gpio-cells = <2>;
+ reg = <0x60>;
+ status = "okay";
+ };
+
+ is31fl3199 {
+ compatible = "issi,is31fl3199";
+ gpio-controller;
+ #gpio-cells = <2>;
+ reg = <0x67>;
+ status = "okay";
+ };
};
/* TODO - Add definitions for the I2C LED/GPIO parts */
- /* TODO - Check address (reg?) value for switch/PHYs */
/* Rogue one uses the following pin mapping:
* MPP[4] SMI_MDC
* MPP[5] SMI_MDIO
OpenPOWER on IntegriCloud