aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-18 13:08:48 +0000
committerJohn Crispin <john@openwrt.org>2014-08-18 13:08:48 +0000
commitf80312613de08ff7dc2ba477cc3b34ce9fcdd17c (patch)
tree7fdeb192a82cdc3589752e9d9554441b16c773cc /target
parent340f87a20f8c4e0c23c1735fd218ec3cd4a8e204 (diff)
downloadupstream-f80312613de08ff7dc2ba477cc3b34ce9fcdd17c.tar.gz
upstream-f80312613de08ff7dc2ba477cc3b34ce9fcdd17c.tar.bz2
upstream-f80312613de08ff7dc2ba477cc3b34ce9fcdd17c.zip
ramips: enable additional GPIOs on HAME MPR-A1
According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose 6 unused GPIOs, only one of them working as configured in the current DTS. This patch enables GPIO22-26. Tested on hardware. [1] http://i.imgur.com/kHVW2Ox.jpg [2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698 Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 42178
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/MPRA1.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts
index 9b4ee34df5..60a23fef41 100644
--- a/target/linux/ramips/dts/MPRA1.dts
+++ b/target/linux/ramips/dts/MPRA1.dts
@@ -41,12 +41,15 @@
};
};
};
+ gpio1: gpio@660 {
+ status = "okay";
+ };
};
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
ralink,function = "gpio";
};
};