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/hg622.dts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'target/linux/brcm63xx/dts/hg622.dts') diff --git a/target/linux/brcm63xx/dts/hg622.dts b/target/linux/brcm63xx/dts/hg622.dts index 6dee418..f96af2b 100644 --- a/target/linux/brcm63xx/dts/hg622.dts +++ b/target/linux/brcm63xx/dts/hg622.dts @@ -22,7 +22,7 @@ reset { label = "reset"; - gpios = <&gpio1 2 1>; + gpios = <&pinctrl 34 1>; linux,code = ; }; }; @@ -32,19 +32,19 @@ dsl_green { label = "HG622:green:dsl"; - gpios = <&gpio0 2 1>; + gpios = <&pinctrl 2 1>; }; inet_green { label = "HG622:green:inet"; - gpios = <&gpio0 5 1>; + gpios = <&pinctrl 5 1>; }; usb_green { label = "HG622:green:usb"; - gpios = <&gpio0 11 1>; + gpios = <&pinctrl 11 1>; }; power_green { label = "HG622:green:power"; - gpios = <&gpio0 22 1>; + gpios = <&pinctrl 22 1>; default-state = "on"; }; }; @@ -77,3 +77,10 @@ reg = <0xfe0000 0x020000>; }; }; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pci_gnt0 &pinctrl_pci_req0 + &pinctrl_pci_intb &pinctrl_pci_gnt1 + &pinctrl_pci_req1>; +}; -- cgit v1.1