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 baf348207e54389d5655e965a546946f367e407f..cec4d0b6b0d95e6450754a52771d3af52a51796d 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>;