summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MZK-750DHP.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-23 07:49:54 +0000
committerJohn Crispin <john@openwrt.org>2014-07-23 07:49:54 +0000
commit0b5b8de818c246879f22525addbbb6c7790b1479 (patch)
treeae66bfc55f4e4c7d7ca50249beb3c4960a5c97e5 /target/linux/ramips/dts/MZK-750DHP.dts
parente5d4e5dee3f7a11b171b24430e6a63a18f73b852 (diff)
downloadmaster-31e0f0ae-0b5b8de818c246879f22525addbbb6c7790b1479.tar.gz
master-31e0f0ae-0b5b8de818c246879f22525addbbb6c7790b1479.tar.bz2
master-31e0f0ae-0b5b8de818c246879f22525addbbb6c7790b1479.zip
ramips: fix gpio mapping on MZK-750DHP
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41811
Diffstat (limited to 'target/linux/ramips/dts/MZK-750DHP.dts')
-rw-r--r--target/linux/ramips/dts/MZK-750DHP.dts19
1 files changed, 18 insertions, 1 deletions
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>;
+ };
};
};