All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiaowei Bao <xiaowei.bao@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 3/4] powerpc: dts: t2080qds: add espi slave nodes support
Date: Mon, 26 Aug 2019 17:25:15 +0800	[thread overview]
Message-ID: <20190826092516.13245-3-xiaowei.bao@nxp.com> (raw)
In-Reply-To: <20190826092516.13245-1-xiaowei.bao@nxp.com>

From: Chuanhua Han <chuanhua.han@nxp.com>

Add espi slave nodes  to support t2080qds.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
---
Changes in v6: 
	- No change.
Changes in v5: 
	- No change.
Changes in v4:
	- Modify the spi-max-frequency attribute value of the
flash at x node of the device tree.
Changes in v3: 
	- Add a cover-letter for this patch set.
Changes in v2: 
	- No change.

 arch/powerpc/dts/t2080qds.dts | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/powerpc/dts/t2080qds.dts b/arch/powerpc/dts/t2080qds.dts
index 1819a08..f9e786b 100644
--- a/arch/powerpc/dts/t2080qds.dts
+++ b/arch/powerpc/dts/t2080qds.dts
@@ -14,4 +14,37 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 	interrupt-parent = <&mpic>;
+
+	aliases {
+		spi0 = &espi0;
+	};
+};
+
+&espi0 {
+
+	status = "okay";
+	flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */
+		reg = <0>;
+		spi-max-frequency = <10000000>;
+	};
+
+	flash at 1 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "sst,sst25wf040", "jedec,spi-nor";
+		reg = <1>;
+		spi-max-frequency = <10000000>;
+	};
+
+	flash at 2 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "eon,en25s64", "jedec,spi-nor";
+		reg = <2>;
+		spi-max-frequency = <10000000>;
+	};
+
 };
-- 
2.9.5

  parent reply	other threads:[~2019-08-26  9:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26  9:25 [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model Xiaowei Bao
2019-08-26  9:25 ` [U-Boot] [PATCH v6 2/4] powerpc: dts: t2080: add espi controller node support Xiaowei Bao
2019-08-26  9:25 ` Xiaowei Bao [this message]
2019-08-26  9:25 ` [U-Boot] [PATCH v6 4/4] configs: enable espi device module in T2080QDS Xiaowei Bao
2019-08-26 15:12 ` [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model Prabhakar Kushwaha
2019-09-09  3:57   ` Xiaowei Bao
2019-09-09  6:07     ` Jagan Teki
2019-09-09  6:37       ` Xiaowei Bao
2019-09-09  7:43       ` Prabhakar Kushwaha
2019-09-13  2:28         ` Jagan Teki
2019-09-13  6:55           ` Prabhakar Kushwaha
2019-09-14  6:44             ` Xiaowei Bao
2020-05-12  9:07               ` Priyanka Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190826092516.13245-3-xiaowei.bao@nxp.com \
    --to=xiaowei.bao@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.