aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi89
1 files changed, 61 insertions, 28 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
index 22d5509a33..27858be28f 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
@@ -120,22 +120,6 @@
ranges = <0x0 0x203000 0x100>;
big-endian;
- gphy0: gphy@20 {
- compatible = "lantiq,xrx200-gphy";
- reg = <0x20 0x4>;
-
- resets = <&reset0 31 30>, <&reset1 7 7>;
- reset-names = "gphy", "gphy2";
- };
-
- gphy1: gphy@68 {
- compatible = "lantiq,xrx200-gphy";
- reg = <0x68 0x4>;
-
- resets = <&reset0 29 28>, <&reset1 6 6>;
- reset-names = "gphy", "gphy2";
- };
-
reset0: reset-controller@10 {
compatible = "lantiq,xrx200-reset";
reg = <0x10 4>, <0x14 4>;
@@ -446,22 +430,71 @@
};
};
- eth0: eth@e108000 {
+ gswip: switch@e108000 {
+ compatible = "lantiq,xrx200-gswip";
#address-cells = <1>;
#size-cells = <0>;
+ reg = < 0xe108000 0x3000 /* switch */
+ 0xe10b100 0x70 /* mdio */
+ 0xe10b1d8 0x30 /* mii */
+ >;
+
+ dsa,member = <0 0>;
+
+ gswip_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@6 {
+ reg = <0x6>;
+ label = "cpu";
+ ethernet = <&eth0>;
+ };
+ };
+
+ gswip_mdio: mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "lantiq,xrx200-mdio";
+ };
+
+ gphy-fw {
+ compatible = "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw";
+ lantiq,rcu = <&rcu0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gphy0: gphy@20 {
+ reg = <0x20>;
+
+ resets = <&reset0 31 30>;
+ reset-names = "gphy";
+ };
+
+ gphy1: gphy@68 {
+ reg = <0x68>;
+
+ resets = <&reset0 29 28>;
+ reset-names = "gphy";
+ };
+ };
+ };
+
+ eth0: eth@e10b308 {
compatible = "lantiq,xrx200-net";
- reg = < 0xe108000 0x3000 /* switch */
- 0xe10b100 0x70 /* mdio */
- 0xe10b1d8 0x30 /* mii */
- 0xe10b308 0x30 /* pmac */
- >;
+ reg = <0xe10b308 0x30>; /* pmac */
interrupt-parent = <&icu0>;
- interrupts = <75 73 72>;
- resets = <&reset0 21 16>, <&reset0 8 8>;
- reset-names = "switch", "ppe";
- lantiq,phys = <&gphy0>, <&gphy1>;
- pinctrl-0 = <&mdio_pins>;
- pinctrl-names = "default";
+ interrupts = <73>, <72>;
+ interrupt-names = "tx", "rx";
+ resets = <&reset0 21 16>, <&reset0 8 8>, <&reset0 3 3>;
+ reset-names = "switch", "ppe", "ppe_dsp";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
};
mei@e116000 {