033-v5.19-0002-ARM-dts-BCM5301X-Fix-DTC-warning-for-NAND-node.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From 90103611d573c5c238350f9b1d7cb682c62f5681 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <[email protected]>
  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. Remove the unnecessary #address-cells and #size-cells properties on the
  9. nand@0 node to fix the warning below.
  10. Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  11. Signed-off-by: Arınç ÜNAL <[email protected]>
  12. Acked-by: Rafał Miłecki <[email protected]>
  13. Signed-off-by: Florian Fainelli <[email protected]>
  14. ---
  15. arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 --
  16. 1 file changed, 2 deletions(-)
  17. --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
  18. +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
  19. @@ -10,8 +10,6 @@
  20. nandcs: nand@0 {
  21. compatible = "brcm,nandcs";
  22. reg = <0>;
  23. - #address-cells = <1>;
  24. - #size-cells = <1>;
  25. partitions {
  26. compatible = "brcm,bcm947xx-cfe-partitions";