[U-Boot] [PATCH 14/29] dts: P4080DS: Add ESPI slave device node

Xiaowei Bao xiaowei.bao at nxp.com
Sat Oct 26 11:24:43 UTC 2019


Add ESPI slave node for P4080DS.

Signed-off-by: Xiaowei Bao <xiaowei.bao at nxp.com>
---
 arch/powerpc/dts/p4080ds.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/powerpc/dts/p4080ds.dts b/arch/powerpc/dts/p4080ds.dts
index 15a0f66..62a0f98 100644
--- a/arch/powerpc/dts/p4080ds.dts
+++ b/arch/powerpc/dts/p4080ds.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.9.5



More information about the U-Boot mailing list