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/dsl-274xb-f.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'target/linux/brcm63xx/dts/dsl-274xb-f.dts') diff --git a/target/linux/brcm63xx/dts/dsl-274xb-f.dts b/target/linux/brcm63xx/dts/dsl-274xb-f.dts index 08a55923d5..be1d16b36d 100644 --- a/target/linux/brcm63xx/dts/dsl-274xb-f.dts +++ b/target/linux/brcm63xx/dts/dsl-274xb-f.dts @@ -21,17 +21,17 @@ wifi { label = "wifi"; - gpios = <&gpio0 10 1>; + gpios = <&pinctrl 10 1>; linux,code = ; }; reset { label = "reset"; - gpios = <&gpio0 23 1>; + gpios = <&pinctrl 23 1>; linux,code = ; }; wps { label = "wps"; - gpios = <&gpio0 24 1>; + gpios = <&pinctrl 24 1>; linux,code = ; }; }; @@ -41,28 +41,28 @@ inet_red { label = "dsl-274xb:red:internet"; - gpios = <&gpio0 2 1>; + gpios = <&pinctrl 2 1>; }; dsl_green { label = "dsl-274xb:green:dsl"; - gpios = <&gpio0 3 1>; + gpios = <&pinctrl 3 1>; }; power_green { label = "dsl-274xb:green:power"; - gpios = <&gpio0 4 1>; + gpios = <&pinctrl 4 1>; default-state = "on"; }; power_red { label = "dsl-274xb:red:power"; - gpios = <&gpio0 8 1>; + gpios = <&pinctrl 8 1>; }; wps_blue { label = "dsl-274xb:blue:wps"; - gpios = <&gpio0 9 1>; + gpios = <&pinctrl 9 1>; }; inet_green { label = "dsl-274xb:green:internet"; - gpios = <&gpio0 11 1>; + gpios = <&pinctrl 11 1>; }; }; }; -- cgit v1.2.3