diff options
author | John Crispin <blogic@openwrt.org> | 2013-09-17 21:45:44 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-09-17 21:45:44 +0000 |
commit | 88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7 (patch) | |
tree | 90e78e100dc8eccdf083816d81e33bed47cc4c16 /target/linux/ramips/dts/rt3352.dtsi | |
parent | a01168134eba92ce7b44b0b495921dc4ab3f670b (diff) | |
download | master-187ad058-88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7.tar.gz master-187ad058-88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7.tar.bz2 master-187ad058-88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7.zip |
ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38026 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/rt3352.dtsi')
-rw-r--r-- | target/linux/ramips/dts/rt3352.dtsi | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index e4d35d87c2..db38b00e63 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -106,8 +106,6 @@ interrupt-parent = <&intc>; interrupts = <6>; - - status = "disabled"; }; gpio1: gpio@638 { @@ -151,6 +149,9 @@ resets = <&rstctrl 18>; reset-names = "spi"; + pinctrl-names = "default"; + pinctrl-0 = <&spi_pins>; + status = "disabled"; }; @@ -165,6 +166,32 @@ interrupts = <12>; reg-shift = <2>; + + pinctrl-names = "default"; + pinctrl-0 = <&uartlite_pins>; + }; + }; + + pinctrl { + compatible = "ralink,rt2880-pinmux"; + + pinctrl-names = "default"; + pinctrl-0 = <&state_default>; + + state_default: pinctrl0 { + }; + + spi_pins: spi { + spi { + ralink,group = "spi"; + ralink,function = "spi"; + }; + }; + uartlite_pins: uartlite { + uart { + ralink,group = "uartlite"; + ralink,function = "uartlite"; + }; }; }; @@ -179,8 +206,6 @@ interrupt-parent = <&cpuintc>; interrupts = <5>; - - status = "disabled"; }; esw@10110000 { @@ -189,8 +214,6 @@ interrupt-parent = <&intc>; interrupts = <17>; - - status = "disabled"; }; wmac@10180000 { @@ -201,8 +224,6 @@ interrupts = <6>; ralink,eeprom = "soc_wmac.eeprom"; - - status = "disabled"; }; ehci@101c0000 { |