From: John Crispin Date: Mon, 1 Sep 2014 13:21:15 +0000 (+0000) Subject: ramips: enable additional GPIOs on HAME MPR-A1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=186695f2a5b259f7663575dd598ef352687d41f9;p=openwrt%2Fsvn-archive%2Fopenwrt.git 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 Backport of r42178 SVN-Revision: 42357 --- 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"; }; };