summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaowei Bao <xiaowei.bao@nxp.com>2020-09-21 12:26:07 +0530
committerTom Rini <trini@konsulko.com>2020-09-24 08:27:44 -0400
commite6e00b4c596908a61593ae51a98fb332797ce12e (patch)
tree0b7f9a8e539e9ae1d872425b890173748f97c2ef
parente3a7239cd0ffa9ade08f28782225fb9dcd1b651f (diff)
downloadu-boot-e6e00b4c596908a61593ae51a98fb332797ce12e.tar.gz
u-boot-e6e00b4c596908a61593ae51a98fb332797ce12e.tar.xz
u-boot-e6e00b4c596908a61593ae51a98fb332797ce12e.zip
dts: P3041DS: Add ESPI slave device node
Add ESPI slave node for P3041DS. 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>
-rw-r--r--arch/powerpc/dts/p3041ds.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/dts/p3041ds.dts b/arch/powerpc/dts/p3041ds.dts
index b984ddea98..069dae3b85 100644
--- a/arch/powerpc/dts/p3041ds.dts
+++ b/arch/powerpc/dts/p3041ds.dts
@@ -27,6 +27,7 @@
emi1_rgmii = &hydra_mdio_rgmii;
emi1_sgmii = &hydra_mdio_sgmii;
emi2_xgmii = &hydra_mdio_xgmii;
+ spi0 = &espi0;
};
soc: soc@ffe000000 {
@@ -142,4 +143,16 @@
};
};
+&espi0 {
+ status = "okay";
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0>;
+ /* input clock */
+ spi-max-frequency = <10000000>;
+ };
+};
+
/include/ "p3041si-post.dtsi"