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/r5010unv2.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'target/linux/brcm63xx/dts/r5010unv2.dts') diff --git a/target/linux/brcm63xx/dts/r5010unv2.dts b/target/linux/brcm63xx/dts/r5010unv2.dts index cce861b..0bd88b2 100644 --- a/target/linux/brcm63xx/dts/r5010unv2.dts +++ b/target/linux/brcm63xx/dts/r5010unv2.dts @@ -22,12 +22,12 @@ 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 = ; }; }; @@ -37,32 +37,32 @@ inet_green { label = "R5010UNv2:green:inet"; - gpios = <&gpio0 1 1>; + gpios = <&pinctrl 1 1>; }; inet_fail_red { label = "R5010UNv2:red:inet-fail"; - gpios = <&gpio0 2 1>; + gpios = <&pinctrl 2 1>; }; dsl_red { label = "R5010UNv2:green:dsl"; - gpios = <&gpio0 3 1>; + gpios = <&pinctrl 3 1>; }; power_green { label = "R5010UNv2:green:power"; - gpios = <&gpio0 4 1>; + gpios = <&pinctrl 4 1>; default-state = "on"; }; power_fail_red { label = "R5010UNv2:red:power-fail"; - gpios = <&gpio0 5 1>; + gpios = <&pinctrl 5 1>; }; wps_green { label = "R5010UNv2:green:wps"; - gpios = <&gpio0 10 1>; + gpios = <&pinctrl 10 1>; }; usb_green { label = "R5010UNv2:green:usb"; - gpios = <&gpio0 11 1>; + gpios = <&pinctrl 11 1>; }; }; }; -- cgit v1.1