aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2018-05-28 12:42:43 +0000
committerJohn Crispin <john@phrozen.org>2018-06-08 09:56:27 +0200
commitd25d847e7811c753c7a3a4e09574e40766bbe06e (patch)
tree0b5caa8fa81165d4fd0457508a591ce309de1be9 /target/linux/ath79
parent35aae0735cd65952af1046264dc1f6251a0abf5f (diff)
downloadupstream-d25d847e7811c753c7a3a4e09574e40766bbe06e.tar.gz
upstream-d25d847e7811c753c7a3a4e09574e40766bbe06e.tar.bz2
upstream-d25d847e7811c753c7a3a4e09574e40766bbe06e.zip
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>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/ath79.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ath79.dtsi b/target/linux/ath79/dts/ath79.dtsi
index baf348207e..cec4d0b6b0 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>;