[U-Boot] [PATCH v5 4/5] powerpc: dts: t2080qds: add espi slave nodes support

Xiaowei Bao xiaowei.bao at nxp.com
Tue Aug 20 06:59:37 UTC 2019


From: Chuanhua Han <chuanhua.han at nxp.com>

Add espi slave nodes  to support t2080qds.

Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
---
Changes in v5: 
	- No change.
Changes in v4:
	- Modify the spi-max-frequency attribute value of the
flash at x node of the device tree.
Changes in v3: 
	- Add a cover-letter for this patch set.
Changes in v2: 
	- No change.

 arch/powerpc/dts/t2080qds.dts | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/powerpc/dts/t2080qds.dts b/arch/powerpc/dts/t2080qds.dts
index 1819a08..f9e786b 100644
--- a/arch/powerpc/dts/t2080qds.dts
+++ b/arch/powerpc/dts/t2080qds.dts
@@ -14,4 +14,37 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 	interrupt-parent = <&mpic>;
+
+	aliases {
+		spi0 = &espi0;
+	};
+};
+
+&espi0 {
+
+	status = "okay";
+	flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */
+		reg = <0>;
+		spi-max-frequency = <10000000>;
+	};
+
+	flash at 1 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "sst,sst25wf040", "jedec,spi-nor";
+		reg = <1>;
+		spi-max-frequency = <10000000>;
+	};
+
+	flash at 2 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "eon,en25s64", "jedec,spi-nor";
+		reg = <2>;
+		spi-max-frequency = <10000000>;
+	};
+
 };
-- 
2.9.5



More information about the U-Boot mailing list