ramips: fix gpio mapping on MZK-750DHP
authorJohn Crispin <john@openwrt.org>
Wed, 23 Jul 2014 07:49:54 +0000 (07:49 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 23 Jul 2014 07:49:54 +0000 (07:49 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41811

target/linux/ramips/dts/MZK-750DHP.dts

index a32a1cd8826cd1df13d86af6f5a6e11823b66a4b..ff664acf73d2ab1e8f9f32532b861e9295231407 100644 (file)
@@ -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";
                        };
                };
                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>;
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x100>;
                };
+               s2 {
+                       label = "wps";
+                       gpios = <&gpio0 2 1>;
+                       linux,code = <0x211>;
+               };
        };
 };