summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-06-15 11:06:33 +0300
committerClaudiu Beznea <claudiu.beznea@microchip.com>2022-07-04 08:34:03 +0300
commitb66724d23d1d1b7eb968aff9513e9724c8a3d613 (patch)
treeb8ca15021058b320c521d2de9f79fae33a65a105 /arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
parent005627ea13c9c64e1a880d18f2d2b7a0c89bd4a5 (diff)
downloadlinux-b66724d23d1d1b7eb968aff9513e9724c8a3d613.tar.xz
ARM: dts: at91: sama5d2: fix compilation warning
Fix the following compilation warning: arch/arm/boot/dts/sama5d2.dtsi:371.29-382.6: Warning (avoid_unnecessary_addr_size): /ahb/apb/ethernet@f8008000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property also defined at arch/arm/boot/dts/at91-sama5d2_icp.dts:353.8-363.3 Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220615080633.1881196-2-claudiu.beznea@microchip.com
Diffstat (limited to 'arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi')
-rw-r--r--arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
index ba621783acdb..76b2025c67b4 100644
--- a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
+++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
@@ -194,6 +194,8 @@
&macb0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb0_default>;
+ #address-cells = <1>;
+ #size-cells = <0>;
phy-mode = "rmii";
ethernet-phy@0 {