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/fast2504n.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/fast2504n.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/fast2504n.dts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/dts/fast2504n.dts b/target/linux/brcm63xx/dts/fast2504n.dts index 54923388d9..296bc0993d 100644 --- a/target/linux/brcm63xx/dts/fast2504n.dts +++ b/target/linux/brcm63xx/dts/fast2504n.dts @@ -21,12 +21,12 @@ reset { label = "reset"; - gpios = <&gpio0 24 1>; + gpios = <&pinctrl 24 1>; linux,code = <KEY_RESTART>; }; wps { label = "wps"; - gpios = <&gpio0 25 1>; + gpios = <&pinctrl 25 1>; linux,code = <KEY_WPS_BUTTON>; }; }; @@ -36,28 +36,28 @@ power_orange { label = "fast2504n:orange:power"; - gpios = <&gpio0 2 1>; + gpios = <&pinctrl 2 1>; }; power_green { label = "fast2504n:green:power"; - gpios = <&gpio0 10 1>; + gpios = <&pinctrl 10 1>; default-state = "on"; }; inet_red { label = "fast2504n:red:internet"; - gpios = <&gpio0 26 1>; + gpios = <&pinctrl 26 1>; }; ok_green { label = "fast2504n:green:ok"; - gpios = <&gpio0 28 1>; + gpios = <&pinctrl 28 1>; }; ok_orange { label = "fast2504n:orange:ok"; - gpios = <&gpio0 29 1>; + gpios = <&pinctrl 29 1>; }; wlan_orangee { label = "fast2504n:orange:wlan"; - gpios = <&gpio0 30 1>; + gpios = <&pinctrl 30 1>; }; }; }; |