Commit 5e043563 authored by Maxime Ripard's avatar Maxime Ripard

ARM: dts: sun7i: lamobo-r1: Remove unused address-cells/size-cells

The #address-cells and #size-cells are only relevant for nodes that have
childs with reg properties. Otherwise, DTC will emit a warning saying that
those properties are unnecessary.

Remove them when needed.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
parent d0293288
...@@ -123,6 +123,8 @@ &gmac { ...@@ -123,6 +123,8 @@ &gmac {
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
/delete-property/#address-cells;
/delete-property/#size-cells;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
...@@ -137,8 +139,6 @@ mdio { ...@@ -137,8 +139,6 @@ mdio {
switch: ethernet-switch@1e { switch: ethernet-switch@1e {
compatible = "brcm,bcm53125"; compatible = "brcm,bcm53125";
reg = <30>; reg = <30>;
#address-cells = <1>;
#size-cells = <0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment