diff mbox series

[U-Boot,08/29] dts: P2041RDB: Add ESPI slave device node

Message ID 20191026112458.35241-9-xiaowei.bao@nxp.com
State Superseded
Delegated to: Priyanka Jain
Headers show
Series Add the SPI DM support for PPC | expand

Commit Message

Xiaowei Bao Oct. 26, 2019, 11:24 a.m. UTC
Add ESPI slave node for P2041RDB.

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

Patch

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