051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 0c0d1c90ddc44df70401b7cfff178c41b2f83ffa Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 4 Apr 2018 15:14:21 +0200
  4. Subject: [PATCH] ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed
  5. partitions syntax
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. This new syntax is slightly better designed & uses "compatible" string.
  10. For details see Documentation/devicetree/bindings/mtd/partition.txt .
  11. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  12. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  13. ---
  14. arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 12 +++++++++---
  15. 1 file changed, 9 insertions(+), 3 deletions(-)
  16. --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
  17. +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
  18. @@ -26,9 +26,15 @@
  19. nand: nand@18028000 {
  20. nandcs@0 {
  21. - partition@0 {
  22. - label = "ubi";
  23. - reg = <0x00000000 0x08000000>;
  24. + partitions {
  25. + compatible = "fixed-partitions";
  26. + #address-cells = <1>;
  27. + #size-cells = <1>;
  28. +
  29. + partition@0 {
  30. + label = "ubi";
  31. + reg = <0x00000000 0x08000000>;
  32. + };
  33. };
  34. };
  35. };