047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. From 3344d946ff277425052383e0a7877baf39911046 Mon Sep 17 00:00:00 2001
  2. From: Jon Mason <jon.mason@broadcom.com>
  3. Date: Wed, 8 Feb 2017 15:45:15 -0500
  4. Subject: [PATCH] ARM: dts: BCM5301X: Add NAND entries to bcm953012k
  5. Add the NAND entry in the DTS for the bcm953012k reference board.
  6. Signed-off-by: Jon Mason <jon.mason@broadcom.com>
  7. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  8. ---
  9. arch/arm/boot/dts/bcm953012k.dts | 32 ++++++++++++++++++++++++++++++++
  10. 1 file changed, 32 insertions(+)
  11. --- a/arch/arm/boot/dts/bcm953012k.dts
  12. +++ b/arch/arm/boot/dts/bcm953012k.dts
  13. @@ -52,6 +52,38 @@
  14. };
  15. };
  16. +&nand {
  17. + nandcs@0 {
  18. + compatible = "brcm,nandcs";
  19. + reg = <0>;
  20. + nand-on-flash-bbt;
  21. +
  22. + #address-cells = <1>;
  23. + #size-cells = <1>;
  24. +
  25. + nand-ecc-strength = <4>;
  26. + nand-ecc-step-size = <512>;
  27. +
  28. + partition@0 {
  29. + label = "nboot";
  30. + reg = <0x00000000 0x00200000>;
  31. + read-only;
  32. + };
  33. + partition@200000 {
  34. + label = "nenv";
  35. + reg = <0x00200000 0x00400000>;
  36. + };
  37. + partition@600000 {
  38. + label = "nsystem";
  39. + reg = <0x00600000 0x00a00000>;
  40. + };
  41. + partition@1000000 {
  42. + label = "nrootfs";
  43. + reg = <0x01000000 0x07000000>;
  44. + };
  45. + };
  46. +};
  47. +
  48. &uart0 {
  49. clock-frequency = <62499840>;
  50. };