diff options
author | Karl Palsson <karlp@etactica.com> | 2018-05-28 12:42:43 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-08 09:56:27 +0200 |
commit | d25d847e7811c753c7a3a4e09574e40766bbe06e (patch) | |
tree | 0b5caa8fa81165d4fd0457508a591ce309de1be9 | |
parent | 35aae0735cd65952af1046264dc1f6251a0abf5f (diff) | |
download | upstream-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>
-rw-r--r-- | target/linux/ath79/dts/ath79.dtsi | 4 |
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 = <ð0>; @@ -70,6 +72,8 @@ mdio1: mdio-bus { status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; regmap = <ð1>; |