ath79: mdio: add address-cells and size-cells defaults
authorKarl Palsson <karlp@etactica.com>
Mon, 28 May 2018 12:42:43 +0000 (12:42 +0000)
committerJohn Crispin <john@phrozen.org>
Fri, 8 Jun 2018 07:56:27 +0000 (09:56 +0200)
Eliminates warnings about relying on defaults from the device tree
compiler.

Signed-off-by: Karl Palsson <karlp@etactica.com>
target/linux/ath79/dts/ath79.dtsi

index baf3482..cec4d0b 100644 (file)
@@ -51,6 +51,8 @@
 
                        mdio0: mdio-bus {
                                status = "disabled";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
 
                                regmap = <&eth0>;
 
@@ -70,6 +72,8 @@
 
                        mdio1: mdio-bus {
                                status = "disabled";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
 
                                regmap = <&eth1>;