ramips: enable additional GPIOs on HAME MPR-A1
authorJohn Crispin <john@openwrt.org>
Mon, 18 Aug 2014 13:08:48 +0000 (13:08 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 18 Aug 2014 13:08:48 +0000 (13:08 +0000)
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

target/linux/ramips/dts/MPRA1.dts

index 9b4ee34df509644d545ea2f5311b44dfe981dd8e..60a23fef411172ac4108b07329800045ba0f29d9 100644 (file)
                                };
                        };
                };
+               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";
                        };
                };