bbe452bc73294971b838fee0e71d823fb88d0c08
[openwrt/staging/mkresin.git] /
1 From 8f29fafb9c3b0936fb6f67212057127c13e17c1c Mon Sep 17 00:00:00 2001
2 From: Kuldeep Singh <kuldeep.singh@nxp.com>
3 Date: Tue, 7 Jan 2020 17:22:24 +0530
4 Subject: [PATCH] LF-18-1 arm64: dts: ls1088ardb: Update qspi dts node
5 properties
6
7 Use compatibles as "jedec,spi-nor" to probe flash without displaying
8 warning: found s25fs512s, expected m25p80.
9 Also remove "fsl,qspi-has-second-chip" property as new driver doesn't use
10 it anymore.
11
12 Update dtsi compatibles to use "fsl,ls2080a-qspi".
13
14 Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
15 ---
16 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 18 +++++++++---------
17 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 +-
18 2 files changed, 10 insertions(+), 10 deletions(-)
19
20 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
21 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
22 @@ -76,25 +76,25 @@
23
24 &qspi {
25 status = "okay";
26 - fsl,qspi-has-second-chip;
27 - qflash0: s25fs512s@0 {
28 - compatible = "spansion,m25p80";
29 +
30 + s25fs512s0: flash@0 {
31 + compatible = "jedec,spi-nor";
32 #address-cells = <1>;
33 #size-cells = <1>;
34 spi-max-frequency = <20000000>;
35 reg = <0>;
36 - spi-rx-bus-width = <4>;
37 - spi-tx-bus-width = <4>;
38 + spi-rx-bus-width = <1>;
39 + spi-tx-bus-width = <1>;
40 };
41
42 - qflash1: s25fs512s@1 {
43 - compatible = "spansion,m25p80";
44 + s25fs512s1: flash@1 {
45 + compatible = "jedec,spi-nor";
46 #address-cells = <1>;
47 #size-cells = <1>;
48 spi-max-frequency = <20000000>;
49 reg = <1>;
50 - spi-rx-bus-width = <4>;
51 - spi-tx-bus-width = <4>;
52 + spi-rx-bus-width = <1>;
53 + spi-tx-bus-width = <1>;
54 };
55
56 };
57 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
58 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
59 @@ -430,7 +430,7 @@
60 status = "disabled";
61 };
62 qspi: spi@20c0000 {
63 - compatible = "fsl,ls2080a-qspi", "fsl,ls1088a-qspi";
64 + compatible = "fsl,ls2080a-qspi";
65 #address-cells = <1>;
66 #size-cells = <0>;
67 reg = <0x0 0x20c0000 0x0 0x10000>,