diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-22 11:49:13 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-22 11:49:13 +0000 |
commit | e8db47db7b6562db7d05ee83dd421752a2d2ce57 (patch) | |
tree | 5f1d4b6b8594649e2a41e632fc82ce58dea2a296 /target/linux/ramips/dts/rt3883.dtsi | |
parent | 0dc3a43640fdf43ad86a5a701acfcabc5027c488 (diff) | |
download | master-187ad058-e8db47db7b6562db7d05ee83dd421752a2d2ce57.tar.gz master-187ad058-e8db47db7b6562db7d05ee83dd421752a2d2ce57.tar.bz2 master-187ad058-e8db47db7b6562db7d05ee83dd421752a2d2ce57.zip |
ramips: update dtsi files to support second spi device
Signed-off-by: Michael Lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47580 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/rt3883.dtsi')
-rw-r--r-- | target/linux/ramips/dts/rt3883.dtsi | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index dc267824b9..6592b3bacf 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -15,6 +15,7 @@ aliases { spi0 = &spi0; + spi1 = &spi1; }; cpuintc: cpuintc@0 { @@ -166,7 +167,7 @@ spi0: spi@b00 { compatible = "ralink,rt3883-spi", "ralink,rt2880-spi"; - reg = <0xb00 0x100>; + reg = <0xb00 0x40>; #address-cells = <1>; #size-cells = <0>; @@ -179,6 +180,21 @@ status = "disabled"; }; + spi1: spi@b40 { + compatible = "ralink,rt3883-spi", "ralink,rt2880-spi"; + reg = <0xb40 0x60>; + #address-cells = <1>; + #size-cells = <0>; + + resets = <&rstctrl 18>; + reset-names = "spi"; + + pinctrl-names = "default"; + pinctrl-0 = <&spi_cs1>; + + status = "disabled"; + }; + uartlite@c00 { compatible = "ralink,rt3883-uart", "ralink,rt2880-uart", "ns16550a"; reg = <0xc00 0x100>; @@ -212,6 +228,13 @@ }; }; + spi_cs1: spi1 { + spi1 { + ralink,group = "spi_cs1"; + ralink,function = "spi_cs1"; + }; + }; + uartlite_pins: uartlite { uart { ralink,group = "uartlite"; |