71ead4b15186807d1c26dfe2e19bef33c2bbc241
[openwrt/staging/linusw.git] /
1 From 0a4e4723a1765770bb04ec4a5ad427b2c97627b6 Mon Sep 17 00:00:00 2001
2 From: Pankaj Bansal <pankaj.bansal@nxp.com>
3 Date: Tue, 21 May 2019 20:26:29 +0530
4 Subject: [PATCH] arm64: dts: fsl: ls1046: Modify the qspi flash frequency
5
6 The qspi flash in ls1046a based QDS and RDB boards can operate
7 at 50MHz frequency.
8 Therefore, update the maximum supported freq in their respective
9 dts files.
10
11 Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
12 ---
13 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 2 +-
14 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 5 +++--
15 2 files changed, 4 insertions(+), 3 deletions(-)
16
17 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
18 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
19 @@ -184,7 +184,7 @@
20 compatible = "spansion,m25p80";
21 #address-cells = <1>;
22 #size-cells = <1>;
23 - spi-max-frequency = <20000000>;
24 + spi-max-frequency = <50000000>;
25 spi-rx-bus-width = <4>;
26 spi-tx-bus-width = <4>;
27 reg = <0>;
28 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
29 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
30 @@ -3,6 +3,7 @@
31 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
32 *
33 * Copyright 2016 Freescale Semiconductor, Inc.
34 + * Copyright 2019 NXP
35 *
36 * Mingkai Hu <mingkai.hu@nxp.com>
37 */
38 @@ -106,7 +107,7 @@
39 compatible = "spansion,m25p80";
40 #address-cells = <1>;
41 #size-cells = <1>;
42 - spi-max-frequency = <20000000>;
43 + spi-max-frequency = <50000000>;
44 spi-rx-bus-width = <4>;
45 spi-tx-bus-width = <4>;
46 reg = <0>;
47 @@ -116,7 +117,7 @@
48 compatible = "spansion,m25p80";
49 #address-cells = <1>;
50 #size-cells = <1>;
51 - spi-max-frequency = <20000000>;
52 + spi-max-frequency = <50000000>;
53 spi-rx-bus-width = <4>;
54 spi-tx-bus-width = <4>;
55 reg = <1>;