Author: blogic
Date: 2014-07-23 09:49:54 +0200 (Wed, 23 Jul 2014)
New Revision: 41811

Modified:
   trunk/target/linux/ramips/dts/MZK-750DHP.dts
Log:
ramips: fix gpio mapping on MZK-750DHP

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/target/linux/ramips/dts/MZK-750DHP.dts
===================================================================
--- trunk/target/linux/ramips/dts/MZK-750DHP.dts        2014-07-23 07:49:50 UTC 
(rev 41810)
+++ trunk/target/linux/ramips/dts/MZK-750DHP.dts        2014-07-23 07:49:54 UTC 
(rev 41811)
@@ -51,7 +51,7 @@
        pinctrl {
                state_default: pinctrl0 {
                        gpio {
-                               ralink,group = "i2c", "uartf", "mdio", "wdt", 
"spi refclk", "pa", "rgmii1", "rgmii2", "wled", "nd_sd";
+                               ralink,group = "i2c", "spi refclk", "rgmii1";
                                ralink,function = "gpio";
                        };
                };
@@ -77,6 +77,18 @@
                status = "okay";
        };
        
+       gpio-leds {
+               compatible = "gpio-leds";
+               wps {
+                       label = "mzk750:green:wps";
+                       gpios = <&gpio1 11 1>;
+               };
+               power {
+                       label = "mzk750:green:power";
+                       gpios = <&gpio1 15 1>;
+               };
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -87,5 +99,10 @@
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x100>;
                };
+               s2 {
+                       label = "wps";
+                       gpios = <&gpio0 2 1>;
+                       linux,code = <0x211>;
+               };
        };
 };
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to