From d25d847e7811c753c7a3a4e09574e40766bbe06e Mon Sep 17 00:00:00 2001
From: Karl Palsson <karlp@etactica.com>
Date: Mon, 28 May 2018 12:42:43 +0000
Subject: [PATCH] ath79: mdio: add address-cells and size-cells defaults

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ath79/dts/ath79.dtsi b/target/linux/ath79/dts/ath79.dtsi
index baf348207e5..cec4d0b6b0d 100644
--- a/target/linux/ath79/dts/ath79.dtsi
+++ b/target/linux/ath79/dts/ath79.dtsi
@@ -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>;
 
-- 
GitLab