aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/boot/dts/marvell/armada-7040-db.dts25
-rw-r--r--arch/arm64/boot/dts/marvell/armada-8040-db.dts16
-rw-r--r--arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi37
-rw-r--r--arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi37
4 files changed, 115 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
index 070b589680c5..bb0e1e8e7138 100644
--- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
@@ -146,3 +146,28 @@
146&cpm_usb3_1 { 146&cpm_usb3_1 {
147 status = "okay"; 147 status = "okay";
148}; 148};
149
150&cpm_mdio {
151 phy0: ethernet-phy@0 {
152 reg = <0>;
153 };
154 phy1: ethernet-phy@1 {
155 reg = <1>;
156 };
157};
158
159&cpm_ethernet {
160 status = "okay";
161};
162
163&cpm_eth1 {
164 status = "okay";
165 phy = <&phy0>;
166 phy-mode = "sgmii";
167};
168
169&cpm_eth2 {
170 status = "okay";
171 phy = <&phy1>;
172 phy-mode = "rgmii-id";
173};
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
index 6e6f182fb297..80e685e4235d 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
@@ -124,6 +124,22 @@
124 status = "okay"; 124 status = "okay";
125}; 125};
126 126
127&cpm_mdio {
128 phy1: ethernet-phy@1 {
129 reg = <1>;
130 };
131};
132
133&cpm_ethernet {
134 status = "okay";
135};
136
137&cpm_eth2 {
138 status = "okay";
139 phy = <&phy1>;
140 phy-mode = "rgmii-id";
141};
142
127/* CON5 on CP1 expansion */ 143/* CON5 on CP1 expansion */
128&cps_pcie2 { 144&cps_pcie2 {
129 status = "okay"; 145 status = "okay";
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
index d12741414009..a035f5955282 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
@@ -59,6 +59,43 @@
59 interrupt-parent = <&gic>; 59 interrupt-parent = <&gic>;
60 ranges = <0x0 0x0 0xf2000000 0x2000000>; 60 ranges = <0x0 0x0 0xf2000000 0x2000000>;
61 61
62 cpm_ethernet: ethernet@0 {
63 compatible = "marvell,armada-7k-pp22";
64 reg = <0x0 0x100000>, <0x129000 0xb000>;
65 clocks = <&cpm_syscon0 1 3>, <&cpm_syscon0 1 9>, <&cpm_syscon0 1 5>;
66 clock-names = "pp_clk", "gop_clk", "mg_clk";
67 status = "disabled";
68 dma-coherent;
69
70 cpm_eth0: eth0 {
71 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
72 port-id = <0>;
73 gop-port-id = <0>;
74 status = "disabled";
75 };
76
77 cpm_eth1: eth1 {
78 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
79 port-id = <1>;
80 gop-port-id = <2>;
81 status = "disabled";
82 };
83
84 cpm_eth2: eth2 {
85 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
86 port-id = <2>;
87 gop-port-id = <3>;
88 status = "disabled";
89 };
90 };
91
92 cpm_mdio: mdio@12a200 {
93 #address-cells = <1>;
94 #size-cells = <0>;
95 compatible = "marvell,orion-mdio";
96 reg = <0x12a200 0x10>;
97 };
98
62 cpm_syscon0: system-controller@440000 { 99 cpm_syscon0: system-controller@440000 {
63 compatible = "marvell,cp110-system-controller0", 100 compatible = "marvell,cp110-system-controller0",
64 "syscon"; 101 "syscon";
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
index d51eb2db6df7..fb9141ab9b37 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
@@ -66,6 +66,43 @@
66 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 66 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
67 }; 67 };
68 68
69 cps_ethernet: ethernet@0 {
70 compatible = "marvell,armada-7k-pp22";
71 reg = <0x0 0x100000>, <0x129000 0xb000>;
72 clocks = <&cps_syscon0 1 3>, <&cps_syscon0 1 9>, <&cps_syscon0 1 5>;
73 clock-names = "pp_clk", "gop_clk", "mg_clk";
74 status = "disabled";
75 dma-coherent;
76
77 cps_eth0: eth0 {
78 interrupts = <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
79 port-id = <0>;
80 gop-port-id = <0>;
81 status = "disabled";
82 };
83
84 cps_eth1: eth1 {
85 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
86 port-id = <1>;
87 gop-port-id = <2>;
88 status = "disabled";
89 };
90
91 cps_eth2: eth2 {
92 interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
93 port-id = <2>;
94 gop-port-id = <3>;
95 status = "disabled";
96 };
97 };
98
99 cps_mdio: mdio@12a200 {
100 #address-cells = <1>;
101 #size-cells = <0>;
102 compatible = "marvell,orion-mdio";
103 reg = <0x12a200 0x10>;
104 };
105
69 cps_syscon0: system-controller@440000 { 106 cps_syscon0: system-controller@440000 {
70 compatible = "marvell,cp110-system-controller0", 107 compatible = "marvell,cp110-system-controller0",
71 "syscon"; 108 "syscon";