]> Git Repo - u-boot.git/commitdiff
dts: P2041RDB: Add ESPI slave device node
authorXiaowei Bao <[email protected]>
Mon, 21 Sep 2020 06:46:50 +0000 (12:16 +0530)
committerTom Rini <[email protected]>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
Add ESPI slave node for P2041RDB.

Signed-off-by: Xiaowei Bao <[email protected]>
Signed-off-by: Hou Zhiqiang <[email protected]>
[Rebased]
Signed-off-by: Priyanka Jain <[email protected]>
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"
This page took 0.037189 seconds and 4 git commands to generate.