dts: P4080DS: Add ESPI slave device node
authorXiaowei Bao <xiaowei.bao@nxp.com>
Mon, 21 Sep 2020 06:59:04 +0000 (12:29 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
Add ESPI slave node for P4080DS.

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

index 53c51d479c439551b076de746f369839511d7789..d5618f1e49aaabb2b90f2112d7c603a78284289a 100644 (file)
@@ -27,6 +27,7 @@
                emi1_rgmii = &p4080mdio0;
                emi2_slot4 = &p4080xmdio1;
                emi2_slot5 = &p4080xmdio3;
+               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/ "p4080si-post.dtsi"