From 0755c2d117060a252674191b98bc852ccd8840fe Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 1 Jul 2016 11:23:06 +0200 Subject: brcm63xx: add pinctrl support Add and enable pincontrol drivers, and update dts(i) files with appropriate hogs. Signed-off-by: Jonas Gorski --- target/linux/brcm63xx/dts/nb4-fxc-r1.dts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'target/linux/brcm63xx/dts/nb4-fxc-r1.dts') diff --git a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts index d94bf0e48e..4960afb49c 100644 --- a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts +++ b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts @@ -17,8 +17,8 @@ #size-cells = <0>; compatible = "spi-gpio"; - gpio-mosi = <&gpio0 7 0>; - gpio-sck = <&gpio0 6 0>; + gpio-mosi = <&pinctrl 7 0>; + gpio-sck = <&pinctrl 6 0>; num-chipselects = <0>; hc595: gpio-spi-controller@0 { @@ -41,22 +41,22 @@ service { label = "service"; - gpios = <&gpio0 27 1>; + gpios = <&pinctrl 27 1>; linux,code = ; }; clip { label = "clip"; - gpios = <&gpio0 31 1>; + gpios = <&pinctrl 31 1>; linux,code = ; }; reset { label = "reset"; - gpios = <&gpio1 2 1>; + gpios = <&pinctrl 34 1>; linux,code = ; }; wps { label = "wps"; - gpios = <&gpio1 5 1>; + gpios = <&pinctrl 37 1>; linux,code = ; }; }; @@ -66,23 +66,23 @@ traffic_white { label = "NB4-FXC-r1:white:traffic"; - gpios = <&gpio0 2 0>; + gpios = <&pinctrl 2 0>; }; service_blue { label = "NB4-FXC-r1:blue:service"; - gpios = <&gpio0 4 0>; + gpios = <&pinctrl 4 0>; }; wifi_white { label = "NB4-FXC-r1:white:wifi"; - gpios = <&gpio0 15 0>; + gpios = <&pinctrl 15 0>; }; service_red { label = "NB4-FXC-r1:red:service"; - gpios = <&gpio0 29 0>; + gpios = <&pinctrl 29 0>; }; service_green { label = "NB4-FXC-r1:green:service"; - gpios = <&gpio0 30 0>; + gpios = <&pinctrl 30 0>; }; alarm_white { label = "NB4-FXC-r1:white:alarm"; -- cgit v1.2.3