mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
60 lines
1.3 KiB
Diff
60 lines
1.3 KiB
Diff
|
From 3f304579d634bcbef18fec939e407c8e789637c8 Mon Sep 17 00:00:00 2001
|
||
|
From: Chuanhua Han <chuanhua.han@nxp.com>
|
||
|
Date: Fri, 26 Oct 2018 12:11:25 +0800
|
||
|
Subject: [PATCH] arm64: dts: lx2160a: add DT node for all DSPI controller
|
||
|
|
||
|
Add device tree node for first flash (CS0) connected
|
||
|
to all dspi controller.
|
||
|
|
||
|
Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
|
||
|
Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
|
||
|
---
|
||
|
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 36 +++++++++++++++++++++++
|
||
|
1 file changed, 36 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||
|
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||
|
@@ -35,6 +35,42 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&dspi0 {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ dflash0: flash@0 {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <1>;
|
||
|
+ compatible = "jedec,spi-nor";
|
||
|
+ reg = <0>;
|
||
|
+ spi-max-frequency = <1000000>;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
+&dspi1 {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ dflash1: flash@0 {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <1>;
|
||
|
+ compatible = "jedec,spi-nor";
|
||
|
+ reg = <0>;
|
||
|
+ spi-max-frequency = <1000000>;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
+&dspi2 {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ dflash2: flash@0 {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <1>;
|
||
|
+ compatible = "jedec,spi-nor";
|
||
|
+ reg = <0>;
|
||
|
+ spi-max-frequency = <1000000>;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
&esdhc0 {
|
||
|
status = "okay";
|
||
|
};
|