add mdio node to be able see switch port states

Signed-off-by: Mikhail Kshevetskiy <[email protected]>
---
 arch/arm/dts/an7583.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/an7583.dtsi b/arch/arm/dts/an7583.dtsi
index 1a64f48e5f1..ec6eab327db 100644
--- a/arch/arm/dts/an7583.dtsi
+++ b/arch/arm/dts/an7583.dtsi
@@ -166,6 +166,11 @@
                switch: switch@1fb58000 {
                        compatible = "airoha,an7583-switch";
                        reg = <0 0x1fb58000 0 0x8000>;
+
+                       mdio: mdio {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
 
                syscon@1fbe3400 {
-- 
2.53.0

Reply via email to