ralink: add ethernet fe and esw reset control bit
authorFelix Fietkau <nbd@openwrt.org>
Sun, 18 Jan 2015 20:16:44 +0000 (20:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 18 Jan 2015 20:16:44 +0000 (20:16 +0000)
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44042

target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index c9a7573cac3985eef5d0baceea4b2b733a4bc461..915707ca1b21467a36b5420093555b129453e61c 100644 (file)
                compatible = "ralink,mt7620a-gsw";
                reg = <0x10110000 8000>;
 
+               resets = <&rstctrl 23>;
+               reset-names = "esw";
+
                interrupt-parent = <&intc>;
                interrupts = <17>;
        };
index 8ce759ab8cd0d21df7586c317bef07eb38d89376..39c92aaa631045fb193f85506c077151296e847d 100644 (file)
                compatible = "ralink,mt7620a-gsw";
                reg = <0x10110000 8000>;
 
+               resets = <&rstctrl 23>;
+               reset-names = "esw";
+
                interrupt-parent = <&intc>;
                interrupts = <17>;
                ralink,port4 = "gmac";
index a36c2b771130dfc0923dcb079d74c645c3502208..50cd144589a63892f763d2d8064a95c60c7f8fb9 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               resets = <&rstctrl 6 &rstctrl 23>;
+               reset-names = "fe", "eth";
+
                interrupt-parent = <&gic>;
                interrupts = <3>;
 
index bb52c6aabe55bcc41928ce2d9a37dfe6d5172329..bf786c8f6961841c31b9b44428e99b10cddac292 100644 (file)
 
                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>;
        };
index 646cb6a99143abdc340e0092a2b2aaa22888cefa..feabe425726cedc4d0cff6b74aa1afb058025e38 100644 (file)
                };
        };
 
+       rstctrl: rstctrl {
+               compatible = "ralink,rt2880-reset";
+               #reset-cells = <1>;
+       };
+
        ethernet@400000 {
                compatible = "ralink,rt2880-eth";
                reg = <0x00400000 10000>;
                #address-cells = <1>;
                #size-cells = <0>;
 
+               resets = <&rstctrl 18>;
+               reset-names = "fe";
+
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
 
index dfce920b17bd82d849a8e2355b7b4b61e036e284..e15a1cf637114ade5b30dab7559a84538fda6c46 100644 (file)
                compatible = "ralink,rt3050-eth";
                reg = <0x10100000 10000>;
 
+               resets = <&rstctrl 21>;
+               reset-names = "fe";
+
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
        };
                compatible = "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
+               resets = <&rstctrl 23>;
+               reset-names = "esw";
+
                interrupt-parent = <&intc>;
                interrupts = <17>;
        };
index 47e30a3335a15ca7adb6586edc4264c01e3b586a..7dffddb8698ea6cba3de6583103b5520ff1c3dfa 100644 (file)
                compatible = "ralink,rt3352-eth", "ralink,rt3050-eth";
                reg = <0x10100000 10000>;
 
+               resets = <&rstctrl 21>;
+               reset-names = "fe";
+
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
        };
                compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
+               resets = <&rstctrl 23>;
+               reset-names = "esw";
+
                interrupt-parent = <&intc>;
                interrupts = <17>;
        };
index 72212c1aa78bfe971d13fe7bbece8d28145e8405..da9a9b55fc34fe847cc4dfa1d3f5b8304768ee78 100644 (file)
                compatible = "ralink,rt3883-eth";
                reg = <0x10100000 10000>;
 
+               resets = <&rstctrl 21>;
+               reset-names = "fe";
+
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
 
index 8ba20bbdfccaabc09b834c92319ee357cafc3175..837e012fd43cf4b817642d1ee6b6a0350abd4854 100644 (file)
                compatible = "ralink,rt5350-eth";
                reg = <0x10100000 10000>;
 
+               resets = <&rstctrl 21 &rstctrl 23>;
+               reset-names = "fe", "esw";
+
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
        };
                compatible = "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
+               resets = <&rstctrl 23>;
+               reset-names = "esw";
+
                interrupt-parent = <&intc>;
                interrupts = <17>;
        };