0032-ARM-socfpga-Add-Candence-QSPI-controller-DT-node.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 8abee0bfd7bc652e028e51e2b95cbb3bf42fc152 Mon Sep 17 00:00:00 2001
  2. From: Stefan Roese <sr@denx.de>
  3. Date: Wed, 20 May 2015 10:32:03 +0200
  4. Subject: [PATCH 32/33] ARM: socfpga: Add Candence QSPI controller DT node
  5. Now that the device driver is available, lets add the controller node
  6. to the socfpga dtsi. So that the SPI NOR flash can be used.
  7. Signed-off-by: Stefan Roese <sr@denx.de>
  8. Signed-off-by: Marek Vasut <marex@denx.de>
  9. ---
  10. arch/arm/boot/dts/socfpga.dtsi | 14 ++++++++++++++
  11. 1 file changed, 14 insertions(+)
  12. diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
  13. index 3ed4abd..ebcd081 100644
  14. --- a/arch/arm/boot/dts/socfpga.dtsi
  15. +++ b/arch/arm/boot/dts/socfpga.dtsi
  16. @@ -685,6 +685,20 @@
  17. reg = <0xffff0000 0x10000>;
  18. };
  19. + qspi: spi@ff705000 {
  20. + compatible = "cdns,qspi-nor";
  21. + #address-cells = <1>;
  22. + #size-cells = <0>;
  23. + reg = <0xff705000 0x1000>,
  24. + <0xffa00000 0x1000>;
  25. + interrupts = <0 151 4>;
  26. + clocks = <&qspi_clk>;
  27. + cdns,fifo-depth = <128>;
  28. + cdns,fifo-width = <4>;
  29. + cdns,trigger-address = <0x00000000>;
  30. + status = "disabled";
  31. + };
  32. +
  33. rst: rstmgr@ffd05000 {
  34. #reset-cells = <1>;
  35. compatible = "altr,rst-mgr";
  36. --
  37. 2.8.1