Skip to content

Commit eed4f1d

Browse files
LorenzoBianconidavem330
authored andcommitted
arm64: dts: mediatek: mt7986: add support for RX Wireless Ethernet Dispatch
Similar to TX Wireless Ethernet Dispatch, introduce RX Wireless Ethernet Dispatch to offload traffic received by the wlan interface to lan/wan one. Co-developed-by: Sujuan Chen <[email protected]> Signed-off-by: Sujuan Chen <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a07b383 commit eed4f1d

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

arch/arm64/boot/dts/mediatek/mt7986a.dtsi

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,47 @@
7676
no-map;
7777
reg = <0 0x4fc00000 0 0x00100000>;
7878
};
79+
80+
wo_emi0: wo-emi@4fd00000 {
81+
reg = <0 0x4fd00000 0 0x40000>;
82+
no-map;
83+
};
84+
85+
wo_emi1: wo-emi@4fd40000 {
86+
reg = <0 0x4fd40000 0 0x40000>;
87+
no-map;
88+
};
89+
90+
wo_ilm0: wo-ilm@151e0000 {
91+
reg = <0 0x151e0000 0 0x8000>;
92+
no-map;
93+
};
94+
95+
wo_ilm1: wo-ilm@151f0000 {
96+
reg = <0 0x151f0000 0 0x8000>;
97+
no-map;
98+
};
99+
100+
wo_data: wo-data@4fd80000 {
101+
reg = <0 0x4fd80000 0 0x240000>;
102+
no-map;
103+
};
104+
105+
wo_dlm0: wo-dlm@151e8000 {
106+
reg = <0 0x151e8000 0 0x2000>;
107+
no-map;
108+
};
109+
110+
wo_dlm1: wo-dlm@151f8000 {
111+
reg = <0 0x151f8000 0 0x2000>;
112+
no-map;
113+
};
114+
115+
wo_boot: wo-boot@15194000 {
116+
reg = <0 0x15194000 0 0x1000>;
117+
no-map;
118+
};
119+
79120
};
80121

81122
timer {
@@ -240,6 +281,11 @@
240281
reg = <0 0x15010000 0 0x1000>;
241282
interrupt-parent = <&gic>;
242283
interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
284+
memory-region = <&wo_emi0>, <&wo_ilm0>, <&wo_dlm0>,
285+
<&wo_data>, <&wo_boot>;
286+
memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
287+
"wo-data", "wo-boot";
288+
mediatek,wo-ccif = <&wo_ccif0>;
243289
};
244290

245291
wed1: wed@15011000 {
@@ -248,6 +294,25 @@
248294
reg = <0 0x15011000 0 0x1000>;
249295
interrupt-parent = <&gic>;
250296
interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
297+
memory-region = <&wo_emi1>, <&wo_ilm1>, <&wo_dlm1>,
298+
<&wo_data>, <&wo_boot>;
299+
memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
300+
"wo-data", "wo-boot";
301+
mediatek,wo-ccif = <&wo_ccif1>;
302+
};
303+
304+
wo_ccif0: syscon@151a5000 {
305+
compatible = "mediatek,mt7986-wo-ccif", "syscon";
306+
reg = <0 0x151a5000 0 0x1000>;
307+
interrupt-parent = <&gic>;
308+
interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
309+
};
310+
311+
wo_ccif1: syscon@151ad000 {
312+
compatible = "mediatek,mt7986-wo-ccif", "syscon";
313+
reg = <0 0x151ad000 0 0x1000>;
314+
interrupt-parent = <&gic>;
315+
interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
251316
};
252317

253318
eth: ethernet@15100000 {

0 commit comments

Comments
 (0)