From 68de1ccc001d381eaa10da787657d08e58dc5512 Mon Sep 17 00:00:00 2001 From: Xiaowei Bao Date: Mon, 21 Sep 2020 12:41:17 +0530 Subject: [PATCH] dts: P5040DS: Add ESPI slave device node Add ESPI slave node for P5040DS. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang [Rebased] Signed-off-by: Priyanka Jain --- arch/powerpc/dts/p5040ds.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/dts/p5040ds.dts b/arch/powerpc/dts/p5040ds.dts index 6ebc801a45..c2ec765d3e 100644 --- a/arch/powerpc/dts/p5040ds.dts +++ b/arch/powerpc/dts/p5040ds.dts @@ -39,6 +39,7 @@ hydra_sg_slot6 = &hydra_sg_slot6; hydra_xg_slot1 = &hydra_xg_slot1; hydra_xg_slot2 = &hydra_xg_slot2; + spi0 = &espi0; }; soc: soc@ffe000000 { @@ -265,4 +266,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/ "p5040si-post.dtsi" -- 2.39.5