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/magic.dts | |
parent | fd1096e351b7cfb0a7eb8bee7eceff52e7c7c499 (diff) | |
download | mtk-20170518-0755c2d117060a252674191b98bc852ccd8840fe.zip mtk-20170518-0755c2d117060a252674191b98bc852ccd8840fe.tar.gz mtk-20170518-0755c2d117060a252674191b98bc852ccd8840fe.tar.bz2 |
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/magic.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/magic.dts | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/target/linux/brcm63xx/dts/magic.dts b/target/linux/brcm63xx/dts/magic.dts index be10524..9053c26 100644 --- a/target/linux/brcm63xx/dts/magic.dts +++ b/target/linux/brcm63xx/dts/magic.dts @@ -17,38 +17,38 @@ power { label = "MAGIC:green:power"; - gpios = <&gpio0 0 1>; + gpios = <&pinctrl 0 1>; default-state = "on"; }; stop { label = "MAGIC:green:stop"; - gpios = <&gpio0 1 1>; + gpios = <&pinctrl 1 1>; }; hpna { label = "MAGIC:green:hpna"; - gpios = <&gpio0 4 1>; + gpios = <&pinctrl 4 1>; }; status { label = "MAGIC:green:adsl"; - gpios = <&gpio0 5 1>; + gpios = <&pinctrl 5 1>; }; voip { label = "MAGIC:green:voip"; - gpios = <&gpio0 22 1>; + gpios = <&pinctrl 22 1>; }; wifi { label = "MAGIC:green:wifi"; - gpios = <&gpio0 28 0>; + gpios = <&pinctrl 28 0>; }; usb { label = "MAGIC:green:usb"; - gpios = <&gpio1 3 1>; + gpios = <&pinctrl 35 1>; }; }; }; @@ -74,3 +74,8 @@ reg = <0x3f0000 0x010000>; }; }; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>; +}; |