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/vh4032n.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/vh4032n.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/vh4032n.dts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/brcm63xx/dts/vh4032n.dts b/target/linux/brcm63xx/dts/vh4032n.dts index 8b8abd9b4a..1b646ce5c5 100644 --- a/target/linux/brcm63xx/dts/vh4032n.dts +++ b/target/linux/brcm63xx/dts/vh4032n.dts @@ -21,12 +21,12 @@ reset { label = "reset"; - gpios = <&gpio1 2 1>; + gpios = <&pinctrl 34 1>; linux,code = <KEY_RESTART>; }; wps { label = "wps"; - gpios = <&gpio1 3 1>; + gpios = <&pinctrl 35 1>; linux,code = <KEY_WPS_BUTTON>; }; }; @@ -36,41 +36,41 @@ dsl_blue { label = "VH4032N:blue:dsl"; - gpios = <&gpio0 2 1>; + gpios = <&pinctrl 2 1>; }; dsl_red { label = "VH4032N:red:dsl"; - gpios = <&gpio0 5 1>; + gpios = <&pinctrl 5 1>; }; hspa_blue { label = "VH4032N:blue:hspa"; - gpios = <&gpio0 11 1>; + gpios = <&pinctrl 11 1>; }; hspa_red { label = "VH4032N:red:hspa"; - gpios = <&gpio0 12 1>; + gpios = <&pinctrl 12 1>; }; power_blue { label = "VH4032N:blue:power"; - gpios = <&gpio0 22 0>; + gpios = <&pinctrl 22 0>; }; power_red { label = "VH4032N:red:power"; - gpios = <&gpio0 24 0>; + gpios = <&pinctrl 24 0>; default-state = "on"; }; voice_blue { label = "VH4032N:blue:voice"; - gpios = <&gpio0 25 1>; + gpios = <&pinctrl 25 1>; }; voice_red { label = "VH4032N:red:voice"; - gpios = <&gpio0 26 1>; + gpios = <&pinctrl 26 1>; }; }; }; -&gpio0 { +&pinctrl { usb_hub_reset { gpio-hog; gpios = <27 0>; |