aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-22 11:49:13 +0000
committerJohn Crispin <john@openwrt.org>2015-11-22 11:49:13 +0000
commitc550ad3d3a70b409a482896a77cfc890823d0221 (patch)
tree73cd1db0ba0511d51901441b22eaa901ca156b5d /target/linux/ramips/dts/rt5350.dtsi
parenta941b34008005567dbfae890e7035fe2c44f930e (diff)
downloadupstream-c550ad3d3a70b409a482896a77cfc890823d0221.tar.gz
upstream-c550ad3d3a70b409a482896a77cfc890823d0221.tar.bz2
upstream-c550ad3d3a70b409a482896a77cfc890823d0221.zip
ramips: update dtsi files to support second spi device
Signed-off-by: Michael Lee <igvtee@gmail.com> SVN-Revision: 47580
Diffstat (limited to 'target/linux/ramips/dts/rt5350.dtsi')
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi29
1 files changed, 25 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 8dd06c8c27..66775c230b 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -20,6 +20,11 @@
compatible = "mti,cpu-interrupt-controller";
};
+ aliases {
+ spi0 = &spi0;
+ spi1 = &spi1;
+ };
+
palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
@@ -150,9 +155,25 @@
status = "disabled";
};
- spi@b00 {
- compatible = "ralink,rt5350-spi";
- reg = <0xb00 0x100>;
+ spi0: spi@b00 {
+ compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
+ reg = <0xb00 0x40>;
+
+ resets = <&rstctrl 18>;
+ reset-names = "spi";
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi_pins>;
+
+ status = "disabled";
+ };
+
+ spi1: spi@b40 {
+ compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
+ reg = <0xb40 0x60>;
resets = <&rstctrl 18>;
reset-names = "spi";
@@ -161,7 +182,7 @@
#size-cells = <0>;
pinctrl-names = "default";
- pinctrl-0 = <&spi_pins &spi_cs1>;
+ pinctrl-0 = <&spi_cs1>;
status = "disabled";
};