From: Karl Palsson Date: Mon, 28 May 2018 12:42:43 +0000 (+0000) Subject: ath79: mdio: add address-cells and size-cells defaults X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d25d847e7811c753c7a3a4e09574e40766bbe06e;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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 = <ð0>; @@ -70,6 +72,8 @@ mdio1: mdio-bus { status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; regmap = <ð1>;