X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FMZK-750DHP.dts;h=ff664acf73d2ab1e8f9f32532b861e9295231407;hb=ebd1cbbe08c41a35522da5dbb5917e3cb0ef1ece;hp=a32a1cd8826cd1df13d86af6f5a6e11823b66a4b;hpb=0435a4402e07ae13324afa759e56395f73ecb32d;p=openwrt.git diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts index a32a1cd882..ff664acf73 100644 --- a/target/linux/ramips/dts/MZK-750DHP.dts +++ b/target/linux/ramips/dts/MZK-750DHP.dts @@ -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>; + }; }; };