e61fef8aabdc761d8103b45a71bba91317a42fe8
[openwrt/staging/pepe2k.git] /
1 From 90103611d573c5c238350f9b1d7cb682c62f5681 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <arinc.unal@arinc9.com>
3 Date: Fri, 1 Apr 2022 13:19:58 +0300
4 Subject: [PATCH] ARM: dts: BCM5301X: Fix DTC warning for NAND node
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Remove the unnecessary #address-cells and #size-cells properties on the
10 nand@0 node to fix the warning below.
11
12 Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
13
14 Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
15 Acked-by: Rafał Miłecki <rafal@milecki.pl>
16 Signed-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";