diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-17 21:45:44 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-17 21:45:44 +0000 |
commit | 1c23a45a8579a61e11693139122f37d0275d3426 (patch) | |
tree | 90e78e100dc8eccdf083816d81e33bed47cc4c16 /target/linux/ramips/dts/rt3883.dtsi | |
parent | a14dc5f844f0a3a6b4546d2505bab7825efadb8f (diff) |
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/rt3883.dtsi')
-rw-r--r-- | target/linux/ramips/dts/rt3883.dtsi | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index d4387a92d0..15c35612d5 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -114,8 +114,6 @@ ralink,register-map = [ 00 04 08 0c 20 24 28 2c 30 34 ]; - - status = "disabled"; }; gpio1: gpio@638 { @@ -175,6 +173,9 @@ resets = <&rstctrl 18>; reset-names = "spi"; + pinctrl-names = "default"; + pinctrl-0 = <&spi_pins>; + status = "disabled"; }; @@ -189,6 +190,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"; + }; }; }; @@ -199,8 +226,6 @@ interrupt-parent = <&cpuintc>; interrupts = <5>; - status = "disabled"; - port@0 { compatible = "ralink,rt3883-port", "ralink,eth-port"; reg = <0>; @@ -320,8 +345,6 @@ interrupts = <6>; ralink,eeprom = "soc_wmac.eeprom"; - - status = "disabled"; }; ehci@101c0000 { |