From cbf202f3a1604fefacb6fbf4469a9b89a383843e Mon Sep 17 00:00:00 2001 From: Xiaowei Bao Date: Mon, 21 Sep 2020 12:29:04 +0530 Subject: [PATCH] dts: P4080DS: Add ESPI slave device node Add ESPI slave node for P4080DS. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang [Rebased] Signed-off-by: Priyanka Jain --- arch/powerpc/dts/p4080ds.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/dts/p4080ds.dts b/arch/powerpc/dts/p4080ds.dts index 53c51d479c..d5618f1e49 100644 --- a/arch/powerpc/dts/p4080ds.dts +++ b/arch/powerpc/dts/p4080ds.dts @@ -27,6 +27,7 @@ emi1_rgmii = &p4080mdio0; emi2_slot4 = &p4080xmdio1; emi2_slot5 = &p4080xmdio3; + spi0 = &espi0; }; soc: soc@ffe000000 { @@ -204,4 +205,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/ "p4080si-post.dtsi" -- 2.39.5