164-arm-qcom-dts-Add-NAND-controller-node-for-ipq806x.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Content-Type: text/plain; charset="utf-8"
  2. MIME-Version: 1.0
  3. Content-Transfer-Encoding: 7bit
  4. Subject: [v3,4/5] arm: qcom: dts: Add NAND controller node for ipq806x
  5. From: Archit Taneja <[email protected]>
  6. X-Patchwork-Id: 6927121
  7. Message-Id: <[email protected]>
  8. To: [email protected], [email protected],
  9. [email protected], [email protected]
  10. Cc: [email protected], [email protected],
  11. [email protected], [email protected],
  12. Archit Taneja <[email protected]>, [email protected]
  13. Date: Mon, 3 Aug 2015 10:38:17 +0530
  14. The nand controller in IPQ806x is of the 'EBI2 type'. Use the corresponding
  15. compatible string.
  16. Cc: [email protected]
  17. Reviewed-by: Andy Gross <[email protected]>
  18. Signed-off-by: Archit Taneja <[email protected]>
  19. ---
  20. arch/arm/boot/dts/qcom-ipq8064.dtsi | 15 +++++++++++++++
  21. 1 file changed, 15 insertions(+)
  22. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  23. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  24. @@ -742,6 +742,22 @@
  25. status = "disabled";
  26. };
  27. +
  28. + nand@1ac00000 {
  29. + compatible = "qcom,ebi2-nandc";
  30. + reg = <0x1ac00000 0x800>;
  31. +
  32. + clocks = <&gcc EBI2_CLK>,
  33. + <&gcc EBI2_AON_CLK>;
  34. + clock-names = "core", "aon";
  35. +
  36. + dmas = <&adm_dma 3>;
  37. + dma-names = "rxtx";
  38. + qcom,cmd-crci = <15>;
  39. + qcom,data-crci = <3>;
  40. +
  41. + status = "disabled";
  42. + };
  43. };
  44. sfpb_mutex: sfpb-mutex {