3226-mtd-spi-nor-fsl-quadspi-Enable-fast-read-for-LS1088A.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. From 72b250c04f543d4eeda06b32e699444b15cac5cc Mon Sep 17 00:00:00 2001
  2. From: "ying.zhang" <ying.zhang22455@nxp.com>
  3. Date: Sat, 17 Dec 2016 00:39:28 +0800
  4. Subject: [PATCH 226/226] mtd:spi-nor:fsl-quadspi:Enable fast-read for
  5. LS1088ARDB
  6. Add fast-read mode for LS1088ARDB board.
  7. Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
  8. Integrated-by: Jiang Yutang <yutang.jiang@nxp.com>
  9. ---
  10. arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 2 ++
  11. arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 +
  12. 2 files changed, 3 insertions(+)
  13. --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
  14. +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
  15. @@ -91,6 +91,7 @@
  16. compatible = "spansion,m25p80";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. + m25p,fast-read;
  20. spi-max-frequency = <20000000>;
  21. reg = <0>;
  22. };
  23. @@ -99,6 +100,7 @@
  24. compatible = "spansion,m25p80";
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. + m25p,fast-read;
  28. spi-max-frequency = <20000000>;
  29. reg = <1>;
  30. };
  31. --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
  32. +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
  33. @@ -294,6 +294,7 @@
  34. interrupts = <0 25 0x4>; /* Level high type */
  35. clocks = <&clockgen 4 3>, <&clockgen 4 3>;
  36. clock-names = "qspi_en", "qspi";
  37. + fsl,qspi-has-second-chip;
  38. };
  39. pcie@3400000 {