Skip to content

Commit fe4540f

Browse files
committed
dts: arm: st: h7rs: Add ethernet node to dts
Add ethernet node with mac and mdio subnodes to dts similar to h7-family. Signed-off-by: Thomas Decker <decker@jb-lighting.de>
1 parent c8d9103 commit fe4540f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,29 @@
847847
status = "disabled";
848848
};
849849

850+
ethernet@40028000 {
851+
reg = <0x40028000 0x8000>;
852+
compatible = "st,stm32-ethernet-controller";
853+
clock-names = "stm-eth";
854+
clocks = <&rcc STM32_CLOCK(AHB1, 15)>;
855+
856+
mac: ethernet {
857+
compatible = "st,stm32h7-ethernet", "st,stm32-ethernet";
858+
interrupts = <92 0>;
859+
clock-names = "mac-clk-tx", "mac-clk-rx";
860+
clocks = <&rcc STM32_CLOCK(AHB1, 16)>,
861+
<&rcc STM32_CLOCK(AHB1, 17)>;
862+
status = "disabled";
863+
};
864+
865+
mdio: mdio {
866+
compatible = "st,stm32-mdio";
867+
#address-cells = <1>;
868+
#size-cells = <0>;
869+
status = "disabled";
870+
};
871+
};
872+
850873
usbotg_fs: usb@40080000 {
851874
compatible = "st,stm32-otgfs";
852875
reg = <0x40080000 0x40000>;

0 commit comments

Comments
 (0)