Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+8 -2
+2
arch/arm/boot/dts/at91-sama5d27_som1.dtsi
··· 83 83 macb0: ethernet@f8008000 { 84 84 pinctrl-names = "default"; 85 85 pinctrl-0 = <&pinctrl_macb0_default>; 86 + #address-cells = <1>; 87 + #size-cells = <0>; 86 88 phy-mode = "rmii"; 87 89 88 90 ethernet-phy@7 {
+2
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
··· 194 194 &macb0 { 195 195 pinctrl-names = "default"; 196 196 pinctrl-0 = <&pinctrl_macb0_default>; 197 + #address-cells = <1>; 198 + #size-cells = <0>; 197 199 phy-mode = "rmii"; 198 200 199 201 ethernet-phy@0 {
+2
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
··· 139 139 macb0: ethernet@f8008000 { 140 140 pinctrl-names = "default"; 141 141 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>; 142 + #address-cells = <1>; 143 + #size-cells = <0>; 142 144 phy-mode = "rmii"; 143 145 status = "okay"; 144 146
+2
arch/arm/boot/dts/at91-sama5d2_xplained.dts
··· 147 147 macb0: ethernet@f8008000 { 148 148 pinctrl-names = "default"; 149 149 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>; 150 + #address-cells = <1>; 151 + #size-cells = <0>; 150 152 phy-mode = "rmii"; 151 153 status = "okay"; 152 154
-2
arch/arm/boot/dts/sama5d2.dtsi
··· 384 384 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 0 */ 385 385 66 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 1 */ 386 386 67 IRQ_TYPE_LEVEL_HIGH 3>; /* Queue 2 */ 387 - #address-cells = <1>; 388 - #size-cells = <0>; 389 387 clocks = <&pmc PMC_TYPE_PERIPHERAL 5>, <&pmc PMC_TYPE_PERIPHERAL 5>; 390 388 clock-names = "hclk", "pclk"; 391 389 status = "disabled";