29f887a84e8d45a7f402632ea3f739f5566a32a7
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 3226-mtd-spi-nor-fsl-quadspi-Enable-fast-read-for-LS1088A.patch
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
7 Add fast-read mode for LS1088ARDB board.
8
9 Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
10 Integrated-by: Jiang Yutang <yutang.jiang@nxp.com>
11 ---
12 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 2 ++
13 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 +
14 2 files changed, 3 insertions(+)
15
16 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
17 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
18 @@ -91,6 +91,7 @@
19 compatible = "spansion,m25p80";
20 #address-cells = <1>;
21 #size-cells = <1>;
22 + m25p,fast-read;
23 spi-max-frequency = <20000000>;
24 reg = <0>;
25 };
26 @@ -99,6 +100,7 @@
27 compatible = "spansion,m25p80";
28 #address-cells = <1>;
29 #size-cells = <1>;
30 + m25p,fast-read;
31 spi-max-frequency = <20000000>;
32 reg = <1>;
33 };
34 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
35 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
36 @@ -294,6 +294,7 @@
37 interrupts = <0 25 0x4>; /* Level high type */
38 clocks = <&clockgen 4 3>, <&clockgen 4 3>;
39 clock-names = "qspi_en", "qspi";
40 + fsl,qspi-has-second-chip;
41 };
42
43 pcie@3400000 {
44