From patchwork Tue Jun 2 13:35:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiqiang Hou X-Patchwork-Id: 241537 List-Id: U-Boot discussion From: Zhiqiang.Hou at nxp.com (Zhiqiang Hou) Date: Tue, 2 Jun 2020 21:35:11 +0800 Subject: [PATCHv2 15/36] dts: P3041DS: 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-16-Zhiqiang.Hou@nxp.com> From: Xiaowei Bao Add ESPI slave node for P3041DS. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang --- V2: - Rebase the patch, no change intended. arch/powerpc/dts/p3041ds.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/dts/p3041ds.dts b/arch/powerpc/dts/p3041ds.dts index c30bf7ac77..5d1bac2eed 100644 --- a/arch/powerpc/dts/p3041ds.dts +++ b/arch/powerpc/dts/p3041ds.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 */ + }; };