From: Xiaowei Bao <xiaowei....@nxp.com>

Add ESPI slave node for T2080RDB.

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

 arch/powerpc/dts/t2080rdb.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts
index 49c1765b29..34ec6a74cb 100644
--- a/arch/powerpc/dts/t2080rdb.dts
+++ b/arch/powerpc/dts/t2080rdb.dts
@@ -14,4 +14,19 @@
        #address-cells = <2>;
        #size-cells = <2>;
        interrupt-parent = <&mpic>;
+
+       aliases {
+               spi0 = &espi0;
+       };
+};
+
+&espi0 {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor"; /* 16MB */
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               spi-max-frequency = <10000000>; /* input clock */
+       };
 };
-- 
2.25.1

Reply via email to