022-ARM-mvebu-A385-AP-Enable-the-NAND-controller.patch 916 B

12345678910111213141516171819202122232425262728293031323334
  1. From 7eb1f09ec8e25aa2fc3f6fc5fc9405d9f917d503 Mon Sep 17 00:00:00 2001
  2. From: Maxime Ripard <maxime.ripard@free-electrons.com>
  3. Date: Thu, 11 Dec 2014 14:14:58 +0100
  4. Subject: [PATCH 1/2] ARM: mvebu: A385-AP: Enable the NAND controller
  5. The A385 AP has a 1GB NAND chip. Enable it.
  6. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  7. ---
  8. arch/arm/boot/dts/armada-385-db-ap.dts | 13 +++++++++++++
  9. 1 file changed, 13 insertions(+)
  10. --- a/arch/arm/boot/dts/armada-385-db-ap.dts
  11. +++ b/arch/arm/boot/dts/armada-385-db-ap.dts
  12. @@ -174,6 +174,19 @@
  13. status = "okay";
  14. usb-phy = <&usb3_phy>;
  15. };
  16. +
  17. + nfc: flash@d0000 {
  18. + status = "okay";
  19. + #address-cells = <1>;
  20. + #size-cells = <1>;
  21. +
  22. + num-cs = <1>;
  23. + nand-ecc-strength = <4>;
  24. + nand-ecc-step-size = <512>;
  25. + marvell,nand-keep-config;
  26. + marvell,nand-enable-arbiter;
  27. + nand-on-flash-bbt;
  28. + };
  29. };
  30. pcie-controller {