]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 c66c4923ac3b672ca46c0ccfbb6136603ea36ddf..360d254d91ecf0005fdfee6dde70f10a0885abee 100644 (file)
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
index b943de7cbb27824ae8d9e24b486c6302a2858155..062086a8c0957b5db899dcbf9b30e32d6a18c445 100644 (file)
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
index 4f58ee2446051552a5ddb6a08ba8b6e014513f2a..20bd57029923dbcbcd20f358231de5d3df0885e0 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 */
+               };
+       };
 };