aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-18 20:16:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-18 20:16:44 +0000
commit754c3f5d786b6782b68f0146d655cedb4b2de517 (patch)
tree877afe208f27270a7f9f067b9b958fe8ebc18567 /target/linux/ramips/dts
parent31fa24e3e3000f8df1fd2c31bed03a1b9eeb7388 (diff)
downloadupstream-754c3f5d786b6782b68f0146d655cedb4b2de517.tar.gz
upstream-754c3f5d786b6782b68f0146d655cedb4b2de517.tar.bz2
upstream-754c3f5d786b6782b68f0146d655cedb4b2de517.zip
ralink: add ethernet fe and esw reset control bit
Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44042 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi3
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi3
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi3
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi6
-rw-r--r--target/linux/ramips/dts/rt2880.dtsi8
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi6
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi6
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi3
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi6
9 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index c9a7573cac..915707ca1b 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -401,6 +401,9 @@
compatible = "ralink,mt7620a-gsw";
reg = <0x10110000 8000>;
+ resets = <&rstctrl 23>;
+ reset-names = "esw";
+
interrupt-parent = <&intc>;
interrupts = <17>;
};
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 8ce759ab8c..39c92aaa63 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -255,6 +255,9 @@
compatible = "ralink,mt7620a-gsw";
reg = <0x10110000 8000>;
+ resets = <&rstctrl 23>;
+ reset-names = "esw";
+
interrupt-parent = <&intc>;
interrupts = <17>;
ralink,port4 = "gmac";
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index a36c2b7711..50cd144589 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -254,6 +254,9 @@
#address-cells = <1>;
#size-cells = <0>;
+ resets = <&rstctrl 6 &rstctrl 23>;
+ reset-names = "fe", "eth";
+
interrupt-parent = <&gic>;
interrupts = <3>;
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index bb52c6aabe..bf786c8f69 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -197,12 +197,18 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
+
+ resets = <&rstctrl 21 &rstctrl 23>;
+ reset-names = "fe", "esw";
};
esw@10110000 {
compatible = "ralink,rt3050-esw";
reg = <0x10110000 8000>;
+ resets = <&rstctrl 23>;
+ reset-names = "esw";
+
interrupt-parent = <&intc>;
interrupts = <17>;
};
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi
index 646cb6a991..feabe42572 100644
--- a/target/linux/ramips/dts/rt2880.dtsi
+++ b/target/linux/ramips/dts/rt2880.dtsi
@@ -149,6 +149,11 @@
};
};
+ rstctrl: rstctrl {
+ compatible = "ralink,rt2880-reset";
+ #reset-cells = <1>;
+ };
+
ethernet@400000 {
compatible = "ralink,rt2880-eth";
reg = <0x00400000 10000>;
@@ -156,6 +161,9 @@
#address-cells = <1>;
#size-cells = <0>;
+ resets = <&rstctrl 18>;
+ reset-names = "fe";
+
interrupt-parent = <&cpuintc>;
interrupts = <5>;
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index dfce920b17..e15a1cf637 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -214,6 +214,9 @@
compatible = "ralink,rt3050-eth";
reg = <0x10100000 10000>;
+ resets = <&rstctrl 21>;
+ reset-names = "fe";
+
interrupt-parent = <&cpuintc>;
interrupts = <5>;
};
@@ -222,6 +225,9 @@
compatible = "ralink,rt3050-esw";
reg = <0x10110000 8000>;
+ resets = <&rstctrl 23>;
+ reset-names = "esw";
+
interrupt-parent = <&intc>;
interrupts = <17>;
};
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index 47e30a3335..7dffddb869 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -204,6 +204,9 @@
compatible = "ralink,rt3352-eth", "ralink,rt3050-eth";
reg = <0x10100000 10000>;
+ resets = <&rstctrl 21>;
+ reset-names = "fe";
+
interrupt-parent = <&cpuintc>;
interrupts = <5>;
};
@@ -212,6 +215,9 @@
compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
reg = <0x10110000 8000>;
+ resets = <&rstctrl 23>;
+ reset-names = "esw";
+
interrupt-parent = <&intc>;
interrupts = <17>;
};
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 72212c1aa7..da9a9b55fc 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -223,6 +223,9 @@
compatible = "ralink,rt3883-eth";
reg = <0x10100000 10000>;
+ resets = <&rstctrl 21>;
+ reset-names = "fe";
+
interrupt-parent = <&cpuintc>;
interrupts = <5>;
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 8ba20bbdfc..837e012fd4 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -254,6 +254,9 @@
compatible = "ralink,rt5350-eth";
reg = <0x10100000 10000>;
+ resets = <&rstctrl 21 &rstctrl 23>;
+ reset-names = "fe", "esw";
+
interrupt-parent = <&cpuintc>;
interrupts = <5>;
};
@@ -262,6 +265,9 @@
compatible = "ralink,rt3050-esw";
reg = <0x10110000 8000>;
+ resets = <&rstctrl 23>;
+ reset-names = "esw";
+
interrupt-parent = <&intc>;
interrupts = <17>;
};