352-ARM-BCM5301X-Add-duplicated-NAND-entries-for-bcm_nand.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
  2. Date: Sun, 7 Jun 2015 15:37:43 +0200
  3. Subject: [PATCH] ARM: BCM5301X: Add duplicated NAND entries for bcm_nand
  4. MIME-Version: 1.0
  5. Content-Type: text/plain; charset=UTF-8
  6. Content-Transfer-Encoding: 8bit
  7. In OpenWrt we still use old NAND driver instead of "brcm,nandcs", so
  8. we need to add this DT entry back.
  9. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  10. ---
  11. --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
  12. +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
  13. @@ -24,6 +24,18 @@
  14. reg = <0x00000000 0x08000000>;
  15. };
  16. + axi@18000000 {
  17. + nand@28000 {
  18. + reg = <0x00028000 0x1000>;
  19. + #address-cells = <1>;
  20. + #size-cells = <1>;
  21. + partition@0 {
  22. + label = "ubi";
  23. + reg = <0x00000000 0x08000000>;
  24. + };
  25. + };
  26. + };
  27. +
  28. nand: nand@18028000 {
  29. nandcs@0 {
  30. partition@0 {
  31. --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
  32. +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
  33. @@ -25,6 +25,19 @@
  34. 0x88000000 0x08000000>;
  35. };
  36. + axi@18000000 {
  37. + nand@28000 {
  38. + reg = <0x00028000 0x1000>;
  39. + #address-cells = <1>;
  40. + #size-cells = <1>;
  41. +
  42. + partition@0 {
  43. + label = "firmware";
  44. + reg = <0x00000000 0x08000000>;
  45. + };
  46. + };
  47. + };
  48. +
  49. nand: nand@18028000 {
  50. nandcs@0 {
  51. partition@0 {