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/fast2604.dts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'target/linux/brcm63xx/dts/fast2604.dts') diff --git a/target/linux/brcm63xx/dts/fast2604.dts b/target/linux/brcm63xx/dts/fast2604.dts index 5d7192f..952b668 100644 --- a/target/linux/brcm63xx/dts/fast2604.dts +++ b/target/linux/brcm63xx/dts/fast2604.dts @@ -21,7 +21,7 @@ reset { label = "reset"; - gpios = <&gpio1 1 1>; + gpios = <&pinctrl 33 1>; linux,code = ; }; }; @@ -31,20 +31,20 @@ power_green { label = "F@ST2604:green:power"; - gpios = <&gpio0 0 1>; + gpios = <&pinctrl 0 1>; default-state = "on"; }; power_red { label = "F@ST2604:red:power"; - gpios = <&gpio0 1 1>; + gpios = <&pinctrl 1 1>; }; inet_red { label = "F@ST2604:red:inet"; - gpios = <&gpio0 4 1>; + gpios = <&pinctrl 4 1>; }; wps_green { label = "F@ST2604:green:wps"; - gpios = <&gpio0 5 1>; + gpios = <&pinctrl 5 1>; }; }; }; @@ -70,3 +70,8 @@ reg = <0x3f0000 0x010000>; }; }; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>; +}; -- cgit v1.1