diff mbox series

[PATCHv3,21/36] dts: P5040DS: Add ESPI slave device node

Message ID 20200604151705.7582-22-Zhiqiang.Hou@nxp.com
State New
Headers show
Series spi: fsl-espi: Convert eSPI driver to DM | expand

Commit Message

Zhiqiang Hou June 4, 2020, 3:16 p.m. UTC
From: Xiaowei Bao <xiaowei.bao at nxp.com>

Add ESPI slave node for P5040DS.

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/p5040ds.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series

Patch

diff --git a/arch/powerpc/dts/p5040ds.dts b/arch/powerpc/dts/p5040ds.dts
index 723d31d5fb..0e1308a2ec 100644
--- a/arch/powerpc/dts/p5040ds.dts
+++ b/arch/powerpc/dts/p5040ds.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 */
+	};
 };