19f9d80d0781817ef293885c8c36bcf2c4481182
[openwrt/staging/ynezz.git] /
1 From d870db86f12a69361472fc86bc516b89d9bf468c Mon Sep 17 00:00:00 2001
2 From: Kuldeep Singh <kuldeep.singh@nxp.com>
3 Date: Wed, 8 Jan 2020 15:50:44 +0530
4 Subject: [PATCH] arm64: dts: ls1012ardb: Update qspi node property
5
6 Use generic node name and specific label name.
7 Add m25p,fast-read.
8
9 Use dt-bindings constants in interrupts instead of using numbers.
10
11 Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
12 ---
13 arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 3 ++-
14 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 +-
15 2 files changed, 3 insertions(+), 2 deletions(-)
16
17 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
18 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
19 @@ -89,11 +89,12 @@
20 &qspi {
21 status = "okay";
22
23 - qflash0: s25fs512s@0 {
24 + s25fs512s0: flash@0 {
25 compatible = "jedec,spi-nor";
26 #address-cells = <1>;
27 #size-cells = <1>;
28 spi-max-frequency = <20000000>;
29 + m25p,fast-read;
30 reg = <0>;
31 spi-rx-bus-width = <1>;
32 spi-tx-bus-width = <1>;
33 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
34 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
35 @@ -392,7 +392,7 @@
36 reg = <0x0 0x1550000 0x0 0x10000>,
37 <0x0 0x40000000 0x0 0x10000000>;
38 reg-names = "QuadSPI", "QuadSPI-memory";
39 - interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>;
40 + interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
41 clock-names = "qspi_en", "qspi";
42 clocks = <&clockgen 4 0>, <&clockgen 4 0>;
43 status = "disabled";