diff options
author | John Crispin <blogic@openwrt.org> | 2014-04-12 21:22:00 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-04-12 21:22:00 +0000 |
commit | 55fa3fbfeb11401a70ff59eba6b728cc7ac6215c (patch) | |
tree | 56ddb5c7727d79b9e5808d5179e2c16f7ef16346 /target/linux | |
parent | 1cd890aa1bba73302eea8a926bb51c73a093f9f8 (diff) | |
download | master-187ad058-55fa3fbfeb11401a70ff59eba6b728cc7ac6215c.tar.gz master-187ad058-55fa3fbfeb11401a70ff59eba6b728cc7ac6215c.tar.bz2 master-187ad058-55fa3fbfeb11401a70ff59eba6b728cc7ac6215c.zip |
rt2880 DT fixes
* add pinctrl
* fix ethernet port
* make wifi available by default
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40493 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/dts/rt2880.dtsi | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi index b51314856d..646cb6a991 100644 --- a/target/linux/ramips/dts/rt2880.dtsi +++ b/target/linux/ramips/dts/rt2880.dtsi @@ -121,15 +121,51 @@ }; }; + pinctrl { + compatible = "ralink,rt2880-pinmux"; + + pinctrl-names = "default"; + pinctrl-0 = <&state_default>; + + state_default: pinctrl0 { + sdram { + ralink,group = "sdram"; + ralink,function = "sdram"; + }; + }; + + spi_pins: spi { + spi { + ralink,group = "spi"; + ralink,function = "spi"; + }; + }; + + uartlite_pins: uartlite { + uart { + ralink,group = "uartlite"; + ralink,function = "uartlite"; + }; + }; + }; + ethernet@400000 { compatible = "ralink,rt2880-eth"; reg = <0x00400000 10000>; + #address-cells = <1>; + #size-cells = <0>; + interrupt-parent = <&cpuintc>; interrupts = <5>; status = "disabled"; + port@0 { + compatible = "ralink,rt2880-port", "ralink,eth-port"; + reg = <0>; + }; + mdio-bus { #address-cells = <1>; #size-cells = <0>; @@ -146,8 +182,6 @@ interrupts = <6>; ralink,eeprom = "soc_wmac.eeprom"; - - status = "disabled"; }; }; |