[PATCH 15/16] an7583: fix system controller mdio nodes

Mikhail Kshevetskiy via U-Boot <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
The properties 'reg' and 'clocks' should exist for the proper driver initialization.
This patch adds missed properties and renames a bit mdio bus nodes.

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

diff --git a/arch/arm/dts/an7583.dtsi b/arch/arm/dts/an7583.dtsi
index c8f445b2c41..cbb2a96a1aa 100644
--- a/arch/arm/dts/an7583.dtsi
+++ b/arch/arm/dts/an7583.dtsi
@@ -260,18 +260,20 @@
 				#reset-cells = <1>;
 			};
 
-			mdio_0: mdio-0 {
+			mdio_0: mdio-bus@c8 {
 				compatible = "airoha,an7583-mdio";
-				resets = <&scuclk AN7583_MDIO0>;
+				reg = <0xc8>;
 
-				airoha,bus-id = <0>;
+				clocks = <&scuclk AN7583_CLK_MDIO0>;
+				resets = <&scuclk AN7583_MDIO0>;
 			};
 
-			mdio_1: mdio-1 {
+			mdio_1: mdio-bus@cc {
 				compatible = "airoha,an7583-mdio";
-				resets = <&scuclk AN7583_MDIO1>;
+				reg = <0xcc>;
 
-				airoha,bus-id = <1>;
+				clocks = <&scuclk AN7583_CLK_MDIO1>;
+				resets = <&scuclk AN7583_MDIO1>;
 			};
 		};
 
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.