]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: an7581: add mdio child node to switch node
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Fri, 30 Jan 2026 22:06:27 +0000 (01:06 +0300)
committerJerome Forissier <jerome.forissier@arm.com>
Fri, 6 Feb 2026 15:42:45 +0000 (16:42 +0100)
add mdio node to be able see switch port states

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
arch/arm/dts/an7581-u-boot.dtsi

index a9297ca6503b8e9bc2ff2ac4882eea170e293641..c5e24c76457a43338f0ae43b872ad15f095619ea 100644 (file)
                switch: switch@1fb58000 {
                        compatible = "airoha,en7581-switch";
                        reg = <0 0x1fb58000 0 0x8000>;
+
+                       mdio: mdio {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
 
                snfi: spi@1fa10000 {