[PATCHv3 15/36] dts: P3041DS: Add ESPI slave device node

Zhiqiang Hou Zhiqiang.Hou at nxp.com
Thu Jun 4 17:16:44 CEST 2020


From: Xiaowei Bao <xiaowei.bao at nxp.com>

Add ESPI slave node for P3041DS.

Signed-off-by: Xiaowei Bao <xiaowei.bao at nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
---
V3:
 - No change.

 arch/powerpc/dts/p3041ds.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/powerpc/dts/p3041ds.dts b/arch/powerpc/dts/p3041ds.dts
index c30bf7ac77..5d1bac2eed 100644
--- a/arch/powerpc/dts/p3041ds.dts
+++ b/arch/powerpc/dts/p3041ds.dts
@@ -15,4 +15,18 @@
 	#size-cells = <2>;
 	interrupt-parent = <&mpic>;
 
+	aliases {
+		spi0 = &espi0;
+	};
+};
+
+&espi0 {
+	status = "okay";
+	flash at 0 {
+		compatible = "jedec,spi-nor";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		reg = <0>;
+		spi-max-frequency = <10000000>; /* input clock */
+	};
 };
-- 
2.25.1



More information about the U-Boot mailing list