]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: T1024RDB: Add ESPI slave device node
authorXiaowei Bao <xiaowei.bao@nxp.com>
Mon, 21 Sep 2020 07:13:20 +0000 (12:43 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
Add ESPI slave node for T1024RDB.

Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/t1024rdb.dts

index 32aaa4adaa4d1f91eb73f8032853662efa44cc70..eeba99f84dedb0e7fa7646872c1327c3f6820809 100644 (file)
@@ -17,6 +17,7 @@
 
        aliases {
                sg_2500_aqr105_phy4 = &sg_2500_aqr105_phy4;
+               spi0 = &espi0;
        };
 
        soc: soc@ffe000000 {
                        };
                };
        };
+};
 
+&espi0 {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               /* input clock */
+               spi-max-frequency = <10000000>;
+       };
 };
 
 #include "t1024si-post.dtsi"