summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2018-07-18 13:40:40 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-07-19 16:29:22 +0200
commit24770a3160662be1161bc1255d36a963d84a0b0b (patch)
tree490240faa3d36b27c605bf39155a2bfd3f187025 /arch/arm
parentARM: dts: sun8i: a83t: Remove unused address-cells/size-cells of dwmac-sun8i (diff)
downloadlinux-24770a3160662be1161bc1255d36a963d84a0b0b.tar.xz
linux-24770a3160662be1161bc1255d36a963d84a0b0b.zip
ARM: dts: sun8i: r40: Remove unused address-cells/size-cells of dwmac-sun8i
address-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed. This patch fix the following DT warning: Warning (avoid_unnecessary_addr_size): /soc/ethernet@1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/sun8i-r40.dtsi2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi
index e2cbd4f645c5..ffd9f00f74a4 100644
--- a/arch/arm/boot/dts/sun8i-r40.dtsi
+++ b/arch/arm/boot/dts/sun8i-r40.dtsi
@@ -539,8 +539,6 @@
reset-names = "stmmaceth";
clocks = <&ccu CLK_BUS_GMAC>;
clock-names = "stmmaceth";
- #address-cells = <1>;
- #size-cells = <0>;
status = "disabled";
gmac_mdio: mdio {