dts: P1010RDB: Add eSPI slave DT nodes
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 4 Jun 2020 15:17:04 +0000 (23:17 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
Add DT nodes for eSPI slave device SPI flash.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/p1010rdb-pa.dts
arch/powerpc/dts/p1010rdb-pa_36b.dts
arch/powerpc/dts/p1010rdb.dtsi

index c66c492..360d254 100644 (file)
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
index b943de7..062086a 100644 (file)
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
index 4f58ee2..20bd570 100644 (file)
@@ -4,6 +4,12 @@
  *
  * Copyright 2020 NXP
  */
+/ {
+       aliases {
+               spi0 = &espi0;
+       };
+};
+
 &soc {
        i2c@3000 {
                rtc@68 {
                        reg = <0x68>;
                };
        };
+
+       spi@7000 {
+               status = "okay";
+               flash@0 {
+                       compatible = "jedec,spi-nor";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       reg = <0>;
+                       spi-max-frequency = <10000000>; /* input clock */
+               };
+       };
 };