Skip to content

Commit 5bcbed5

Browse files
committed
dts: arm :st: Add ethernet 0 node in stm32mp13
Add the Ethernet 0 MAC and MDIO nodes in the device tree. Signed-off-by: Arnaud Pouliquen <[email protected]> Signed-off-by: Arif Balik <[email protected]>
1 parent 8b6b9b6 commit 5bcbed5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

dts/arm/st/mp13/stm32mp13.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,34 @@
246246
interrupt-names = "event", "error";
247247
status = "disabled";
248248
};
249+
250+
eth0: ethernet@5800a000 {
251+
reg = <0x5800a000 0x2000>;
252+
compatible = "st,stm32-ethernet-controller";
253+
clock-names = "stm-eth";
254+
clocks = <&rcc STM32_CLOCK(AHB6, 7)>;
255+
256+
mac: ethernet {
257+
compatible = "st,stm32mp13-ethernet", "st,stm32h7-ethernet",
258+
"st,stm32-ethernet";
259+
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
260+
<GIC_SPI 63 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
261+
clock-names = "mac-clk", "mac-clk-tx", "mac-clk-rx", "eth-ker";
262+
clocks = <&rcc STM32_CLOCK(AHB6, 8)>,
263+
<&rcc STM32_CLOCK(AHB6, 9)>,
264+
<&rcc STM32_CLOCK(AHB6, 10)>,
265+
<&rcc STM32_SRC_PLL4_Q ETH1_SEL(0)>;
266+
267+
status = "disabled";
268+
};
269+
270+
mdio: mdio {
271+
compatible = "st,stm32-mdio";
272+
#address-cells = <1>;
273+
#size-cells = <0>;
274+
status = "disabled";
275+
};
276+
};
249277
};
250278

251279
gic: gic@A0021000 {

0 commit comments

Comments
 (0)