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

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/p2041rdb.dts

index 9d59f9c83313c6daeae7e895934840dd88e7f247..0fa1f0985241414a357b55970ae5aebc6ce98411 100644 (file)
@@ -26,6 +26,7 @@
                phy_sgmii_1e = &phy_sgmii_1e;
                phy_sgmii_1f = &phy_sgmii_1f;
                phy_xgmii_2 = &phy_xgmii_2;
+               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/ "p2041si-post.dtsi"