[U-Boot] [PATCH 28/29] dts: T4240RDB: Add ESPI slave device node

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


Add ESPI slave node for T4240RDB.

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

diff --git a/arch/powerpc/dts/t4240rdb.dts b/arch/powerpc/dts/t4240rdb.dts
index f67d7ce..635065a 100644
--- a/arch/powerpc/dts/t4240rdb.dts
+++ b/arch/powerpc/dts/t4240rdb.dts
@@ -14,4 +14,19 @@
 	#address-cells = <2>;
 	#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