From patchwork Tue Jun 2 13:35:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiqiang Hou X-Patchwork-Id: 241543 List-Id: U-Boot discussion From: Zhiqiang.Hou at nxp.com (Zhiqiang Hou) Date: Tue, 2 Jun 2020 21:35:17 +0800 Subject: [PATCHv2 21/36] dts: P5040DS: Add ESPI slave device node In-Reply-To: <20200602133532.36978-1-Zhiqiang.Hou@nxp.com> References: <20200602133532.36978-1-Zhiqiang.Hou@nxp.com> Message-ID: <20200602133532.36978-22-Zhiqiang.Hou@nxp.com> From: Xiaowei Bao Add ESPI slave node for P5040DS. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang --- V2: - Rebase the patch, no change intended. arch/powerpc/dts/p5040ds.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/dts/p5040ds.dts b/arch/powerpc/dts/p5040ds.dts index 723d31d5fb..0e1308a2ec 100644 --- a/arch/powerpc/dts/p5040ds.dts +++ b/arch/powerpc/dts/p5040ds.dts @@ -15,4 +15,18 @@ #size-cells = <2>; interrupt-parent = <&mpic>; + aliases { + spi0 = &espi0; + }; +}; + +&espi0 { + status = "okay"; + flash at 0 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0>; + spi-max-frequency = <10000000>; /* input clock */ + }; };