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/homehub2a.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/homehub2a.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/homehub2a.dts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/brcm63xx/dts/homehub2a.dts b/target/linux/brcm63xx/dts/homehub2a.dts index b86a48f..0d51c87 100644 --- a/target/linux/brcm63xx/dts/homehub2a.dts +++ b/target/linux/brcm63xx/dts/homehub2a.dts @@ -17,9 +17,9 @@ #size-cells = <0>; compatible = "spi-gpio"; - gpio-mosi = <&gpio0 7 0>; - gpio-sck = <&gpio0 6 0>; - cs-gpios = <&gpio0 5 0>; + gpio-mosi = <&pinctrl 7 0>; + gpio-sck = <&pinctrl 6 0>; + cs-gpios = <&pinctrl 5 0>; num-chipselects = <1>; hc595: gpio-spi-controller@0 { @@ -42,17 +42,17 @@ phone { label = "phone"; - gpios = <&gpio0 1 1>; + gpios = <&pinctrl 1 1>; linux,code = <KEY_PHONE>; }; reset { label = "reset"; - gpios = <&gpio0 9 1>; + gpios = <&pinctrl 9 1>; linux,code = <KEY_RESTART>; }; wps { label = "wps"; - gpios = <&gpio0 11 1>; + gpios = <&pinctrl 11 1>; linux,code = <KEY_WPS_BUTTON>; }; }; |