Skip to content

Commit ae7fdac

Browse files
grygoriySdavem330
authored andcommitted
arm64: dts: ti: k3-j721e-mcu: add mcu cpsw nuss node
Add DT node for The TI J721E MCU SoC Gigabit Ethernet subsystem (MCU CPSW NUSS). Signed-off-by: Grygorii Strashko <[email protected]> Tested-by: Murali Karicheri <[email protected]> Tested-by: Peter Ujfalusi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9ba5a8a commit ae7fdac

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,53 @@
270270
ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
271271
};
272272
};
273+
274+
mcu_cpsw: ethernet@46000000 {
275+
compatible = "ti,j721e-cpsw-nuss";
276+
#address-cells = <2>;
277+
#size-cells = <2>;
278+
reg = <0x0 0x46000000 0x0 0x200000>;
279+
reg-names = "cpsw_nuss";
280+
ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
281+
dma-coherent;
282+
clocks = <&k3_clks 18 22>;
283+
clock-names = "fck";
284+
power-domains = <&k3_pds 18 TI_SCI_PD_EXCLUSIVE>;
285+
286+
dmas = <&mcu_udmap 0xf000>,
287+
<&mcu_udmap 0xf001>,
288+
<&mcu_udmap 0xf002>,
289+
<&mcu_udmap 0xf003>,
290+
<&mcu_udmap 0xf004>,
291+
<&mcu_udmap 0xf005>,
292+
<&mcu_udmap 0xf006>,
293+
<&mcu_udmap 0xf007>,
294+
<&mcu_udmap 0x7000>;
295+
dma-names = "tx0", "tx1", "tx2", "tx3",
296+
"tx4", "tx5", "tx6", "tx7",
297+
"rx";
298+
299+
ethernet-ports {
300+
#address-cells = <1>;
301+
#size-cells = <0>;
302+
303+
cpsw_port1: port@1 {
304+
reg = <1>;
305+
ti,mac-only;
306+
label = "port1";
307+
ti,syscon-efuse = <&mcu_conf 0x200>;
308+
phys = <&phy_gmii_sel 1>;
309+
};
310+
};
311+
312+
davinci_mdio: mdio@f00 {
313+
compatible = "ti,cpsw-mdio","ti,davinci_mdio";
314+
reg = <0x0 0xf00 0x0 0x100>;
315+
#address-cells = <1>;
316+
#size-cells = <0>;
317+
clocks = <&k3_clks 18 22>;
318+
clock-names = "fck";
319+
bus_freq = <1000000>;
320+
};
321+
};
273322
};

arch/arm64/boot/dts/ti/k3-j721e.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
serial9 = &main_uart7;
3131
serial10 = &main_uart8;
3232
serial11 = &main_uart9;
33+
ethernet0 = &cpsw_port1;
3334
};
3435

3536
chosen { };

0 commit comments

Comments
 (0)