aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorXiaowei Bao2020-06-04 23:17:01 +0800
committerTom Rini2020-09-24 08:27:44 -0400
commitba2f651cfa72f8cdd0d5a67222bd6002ee7f7483 (patch)
tree9dd9c87d1de9e9c09e430edb41ba178b81fc03b3 /arch
parent4f09505261d497d10dd0cfe1e1ba8a6ce3ae85bb (diff)
dts: T4240RDB: Add ESPI slave device node
Add ESPI slave node for T4240RDB. 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/dts/t4240rdb.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/dts/t4240rdb.dts b/arch/powerpc/dts/t4240rdb.dts
index f67d7ce2ae6..635065a0368 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@0 {
+ compatible = "jedec,spi-nor";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0>;
+ spi-max-frequency = <10000000>; /* input clock */
+ };
};