summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaowei Bao <xiaowei.bao@nxp.com>2020-06-04 23:16:58 +0800
committerTom Rini <trini@konsulko.com>2020-09-24 08:27:44 -0400
commit38572e741e8090b713bcdc5c74a2c1886343e305 (patch)
tree3ab64121d9390a6b3c83cb422daf3a25ff550cdf
parent56621644069a944ab475669356496e465f9ac335 (diff)
dts: T2080RDB: Add ESPI slave device node
Add ESPI slave node for T2080RDB. Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--arch/powerpc/dts/t2080rdb.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts
index 49c1765b299..34ec6a74cb1 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 */
+ };
};