bb931fb871c873a9f6414bc422e67680ff6193f0
[openwrt/staging/pepe2k.git] /
1 From 3f304579d634bcbef18fec939e407c8e789637c8 Mon Sep 17 00:00:00 2001
2 From: Chuanhua Han <chuanhua.han@nxp.com>
3 Date: Fri, 26 Oct 2018 12:11:25 +0800
4 Subject: [PATCH] arm64: dts: lx2160a: add DT node for all DSPI controller
5
6 Add device tree node for first flash (CS0) connected
7 to all dspi controller.
8
9 Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
10 Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
11 ---
12 arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 36 +++++++++++++++++++++++
13 1 file changed, 36 insertions(+)
14
15 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
16 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
17 @@ -35,6 +35,42 @@
18 status = "okay";
19 };
20
21 +&dspi0 {
22 + status = "okay";
23 +
24 + dflash0: flash@0 {
25 + #address-cells = <1>;
26 + #size-cells = <1>;
27 + compatible = "jedec,spi-nor";
28 + reg = <0>;
29 + spi-max-frequency = <1000000>;
30 + };
31 +};
32 +
33 +&dspi1 {
34 + status = "okay";
35 +
36 + dflash1: flash@0 {
37 + #address-cells = <1>;
38 + #size-cells = <1>;
39 + compatible = "jedec,spi-nor";
40 + reg = <0>;
41 + spi-max-frequency = <1000000>;
42 + };
43 +};
44 +
45 +&dspi2 {
46 + status = "okay";
47 +
48 + dflash2: flash@0 {
49 + #address-cells = <1>;
50 + #size-cells = <1>;
51 + compatible = "jedec,spi-nor";
52 + reg = <0>;
53 + spi-max-frequency = <1000000>;
54 + };
55 +};
56 +
57 &esdhc0 {
58 status = "okay";
59 };