aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-08-18 13:08:48 +0000
committerJohn Crispin <blogic@openwrt.org>2014-08-18 13:08:48 +0000
commit5c9513e815a32930c247b4928c8330f0a44182c8 (patch)
treef56a1ab99b1e8ab0b10e8e943876a18be0df8997 /target/linux/ramips
parentb4e0e32c57c99b70bab705353dd07d748c0ed69d (diff)
downloadupstream-5c9513e815a32930c247b4928c8330f0a44182c8.tar.gz
upstream-5c9513e815a32930c247b4928c8330f0a44182c8.tar.bz2
upstream-5c9513e815a32930c247b4928c8330f0a44182c8.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42178 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-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";
};
};