ramips: fix gpio mapping on MZK-750DHP

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41811
owl
John Crispin 2014-07-23 07:49:54 +00:00
parent e5d4e5dee3
commit 0b5b8de818
1 changed files with 18 additions and 1 deletions

View File

@ -51,7 +51,7 @@
pinctrl { pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
gpio { gpio {
ralink,group = "i2c", "uartf", "mdio", "wdt", "spi refclk", "pa", "rgmii1", "rgmii2", "wled", "nd_sd"; ralink,group = "i2c", "spi refclk", "rgmii1";
ralink,function = "gpio"; ralink,function = "gpio";
}; };
}; };
@ -77,6 +77,18 @@
status = "okay"; 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 { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
@ -87,5 +99,10 @@
gpios = <&gpio0 1 1>; gpios = <&gpio0 1 1>;
linux,code = <0x100>; linux,code = <0x100>;
}; };
s2 {
label = "wps";
gpios = <&gpio0 2 1>;
linux,code = <0x211>;
};
}; };
}; };