diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2016-07-01 11:23:06 +0200 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-06-10 12:40:37 +0200 |
commit | 0755c2d117060a252674191b98bc852ccd8840fe (patch) | |
tree | e401b5b808066ea553fe9f5817378110ed91ffff /target/linux/brcm63xx/dts/dsl-275xb-d.dts | |
parent | fd1096e351b7cfb0a7eb8bee7eceff52e7c7c499 (diff) | |
download | upstream-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/dsl-275xb-d.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/dsl-275xb-d.dts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/brcm63xx/dts/dsl-275xb-d.dts b/target/linux/brcm63xx/dts/dsl-275xb-d.dts index cae6f37ad7..bbcce3c30d 100644 --- a/target/linux/brcm63xx/dts/dsl-275xb-d.dts +++ b/target/linux/brcm63xx/dts/dsl-275xb-d.dts @@ -21,19 +21,19 @@ wifi { label = "wifi"; - gpios = <&gpio0 2 1>; + gpios = <&pinctrl 2 1>; linux,code = <KEY_WLAN>; }; wps { label = "wps"; - gpios = <&gpio1 1 1>; + gpios = <&pinctrl 33 1>; linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; - gpios = <&gpio1 2 1>; + gpios = <&pinctrl 34 1>; linux,code = <KEY_RESTART>; }; }; @@ -43,39 +43,39 @@ power_green { label = "dsl-275xb:green:power"; - gpios = <&gpio0 3 1>; + gpios = <&pinctrl 3 1>; default-state = "on"; }; inet_green { label = "dsl-275xb:green:inet"; - gpios = <&gpio0 8 1>; + gpios = <&pinctrl 8 1>; }; inet_red { label = "dsl-275xb:red:inet-fail"; - gpios = <&gpio0 9 1>; + gpios = <&pinctrl 9 1>; }; power_red { label = "dsl-275xb:red:post-failed"; - gpios = <&gpio0 11 1>; + gpios = <&pinctrl 11 1>; }; wps_blue { label = "dsl-275xb:blue:wps"; - gpios = <&gpio0 16 1>; + gpios = <&pinctrl 16 1>; }; dsl_green { label = "dsl-275xb:green:dsl"; - gpios = <&gpio0 17 1>; + gpios = <&pinctrl 17 1>; }; usb_green { /* not user controllable? */ label = "dsl-275xb:green:usb"; - gpios = <&gpio1 17 1>; + gpios = <&pinctrl 49 1>; }; }; }; |