Skip to content

Commit a7c720b

Browse files
spectrum70aescolar
authored andcommitted
dts: arm: st: add mdio node for h5 and h7
Add mdio node for h5 and h7 series. Since MDIO registers are part of the same ETH hw IP, keeping mdio node just as a child of mac/eth, cannot see as appropriate to assign an adddress to it. Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
1 parent fe29929 commit a7c720b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

dts/arm/st/h5/stm32h5.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,13 @@
495495
<&rcc STM32_CLOCK_BUS_AHB1 0x00100000>,
496496
<&rcc STM32_CLOCK_BUS_AHB1 0x00200000>;
497497
status = "disabled";
498+
499+
mdio: mdio {
500+
compatible = "st,stm32-mdio";
501+
#address-cells = <1>;
502+
#size-cells = <0>;
503+
status = "disabled";
504+
};
498505
};
499506

500507
gpdma1: dma@40020000 {

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,13 @@
10151015
<&rcc STM32_CLOCK_BUS_AHB1 0x00010000>,
10161016
<&rcc STM32_CLOCK_BUS_AHB1 0x00020000>;
10171017
status = "disabled";
1018+
1019+
mdio: mdio {
1020+
compatible = "st,stm32-mdio";
1021+
#address-cells = <1>;
1022+
#size-cells = <0>;
1023+
status = "disabled";
1024+
};
10181025
};
10191026

10201027
fmc: memory-controller@52004000 {

0 commit comments

Comments
 (0)