aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/av4202n.dts
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2016-07-01 11:23:06 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-06-10 12:40:37 +0200
commit0755c2d117060a252674191b98bc852ccd8840fe (patch)
treee401b5b808066ea553fe9f5817378110ed91ffff /target/linux/brcm63xx/dts/av4202n.dts
parentfd1096e351b7cfb0a7eb8bee7eceff52e7c7c499 (diff)
downloadupstream-0755c2d117060a252674191b98bc852ccd8840fe.tar.gz
upstream-0755c2d117060a252674191b98bc852ccd8840fe.tar.bz2
upstream-0755c2d117060a252674191b98bc852ccd8840fe.zip
brcm63xx: add pinctrl support
Add and enable pincontrol drivers, and update dts(i) files with appropriate hogs. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/av4202n.dts')
-rw-r--r--target/linux/brcm63xx/dts/av4202n.dts18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/brcm63xx/dts/av4202n.dts b/target/linux/brcm63xx/dts/av4202n.dts
index 960e233e3b..a105f3674e 100644
--- a/target/linux/brcm63xx/dts/av4202n.dts
+++ b/target/linux/brcm63xx/dts/av4202n.dts
@@ -22,12 +22,12 @@
reset {
label = "reset";
- gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wlan {
label = "wlan";
- gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WLAN>;
};
};
@@ -37,32 +37,32 @@
power_white {
label = "AV4202N:white:power";
- gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>;
default-state = "on";
};
power_red {
label = "AV4202N:red:power";
- gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
};
wan_white {
label = "AV4202N:white:wan";
- gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
};
wan_red {
label = "AV4202N:red:wan";
- gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>;
};
phone_white {
label = "AV4202N:white:phone";
- gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
};
phone_red {
label = "AV4202N:red:phone";
- gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
};
wifi {
label = "AV4202N:blue:wifi";
- gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>;
};
};
};