[PATCH 1/5] ARM: dts: BCM5301X: Fix DTC warning for NAND node

Arınç ÜNAL arinc.unal at arinc9.com
Fri Apr 1 03:19:58 PDT 2022


Remove the unnecessary #address-cells and #size-cells properties on the
nand at 0 node to fix the warning below.

Warning (avoid_unnecessary_addr_size): /nand-controller at 18028000/nand at 0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
---
 arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
index be9a00ff752d..bdf1b4a608e6 100644
--- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
@@ -10,8 +10,6 @@ nand-controller at 18028000 {
 		nandcs: nand at 0 {
 			compatible = "brcm,nandcs";
 			reg = <0>;
-			#address-cells = <1>;
-			#size-cells = <1>;
 
 			partitions {
 				compatible = "brcm,bcm947xx-cfe-partitions";
-- 
2.25.1




More information about the linux-arm-kernel mailing list