aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/nb4-fxc-r1.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/nb4-fxc-r1.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/nb4-fxc-r1.dts')
-rw-r--r--target/linux/brcm63xx/dts/nb4-fxc-r1.dts22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
index d94bf0e48e..4960afb49c 100644
--- a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
+++ b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
@@ -17,8 +17,8 @@
#size-cells = <0>;
compatible = "spi-gpio";
- gpio-mosi = <&gpio0 7 0>;
- gpio-sck = <&gpio0 6 0>;
+ gpio-mosi = <&pinctrl 7 0>;
+ gpio-sck = <&pinctrl 6 0>;
num-chipselects = <0>;
hc595: gpio-spi-controller@0 {
@@ -41,22 +41,22 @@
service {
label = "service";
- gpios = <&gpio0 27 1>;
+ gpios = <&pinctrl 27 1>;
linux,code = <BTN_0>;
};
clip {
label = "clip";
- gpios = <&gpio0 31 1>;
+ gpios = <&pinctrl 31 1>;
linux,code = <BTN_1>;
};
reset {
label = "reset";
- gpios = <&gpio1 2 1>;
+ gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio1 5 1>;
+ gpios = <&pinctrl 37 1>;
linux,code = <KEY_WPS_BUTTON>;
};
};
@@ -66,23 +66,23 @@
traffic_white {
label = "NB4-FXC-r1:white:traffic";
- gpios = <&gpio0 2 0>;
+ gpios = <&pinctrl 2 0>;
};
service_blue {
label = "NB4-FXC-r1:blue:service";
- gpios = <&gpio0 4 0>;
+ gpios = <&pinctrl 4 0>;
};
wifi_white {
label = "NB4-FXC-r1:white:wifi";
- gpios = <&gpio0 15 0>;
+ gpios = <&pinctrl 15 0>;
};
service_red {
label = "NB4-FXC-r1:red:service";
- gpios = <&gpio0 29 0>;
+ gpios = <&pinctrl 29 0>;
};
service_green {
label = "NB4-FXC-r1:green:service";
- gpios = <&gpio0 30 0>;
+ gpios = <&pinctrl 30 0>;
};
alarm_white {
label = "NB4-FXC-r1:white:alarm";