blob: e61fef8aabdc761d8103b45a71bba91317a42fe8 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 90103611d573c5c238350f9b1d7cb682c62f5681 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <arinc.unal@arinc9.com>
3Date: Fri, 1 Apr 2022 13:19:58 +0300
4Subject: [PATCH] ARM: dts: BCM5301X: Fix DTC warning for NAND node
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Remove the unnecessary #address-cells and #size-cells properties on the
10nand@0 node to fix the warning below.
11
12Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
13
14Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
15Acked-by: Rafał Miłecki <rafal@milecki.pl>
16Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
17---
18 arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 --
19 1 file changed, 2 deletions(-)
20
21--- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
22+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
23@@ -10,8 +10,6 @@
24 nandcs: nand@0 {
25 compatible = "brcm,nandcs";
26 reg = <0>;
27- #address-cells = <1>;
28- #size-cells = <1>;
29
30 partitions {
31 compatible = "brcm,bcm947xx-cfe-partitions";