All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8/ls1043aqds: fix DSPI/QSPI node in dts file
@ 2016-02-01  5:09 Gong Qianyu
  2016-02-01 22:04 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: Gong Qianyu @ 2016-02-01  5:09 UTC (permalink / raw)
  To: u-boot

Fix the lost dts info when merging patches.

Fix DSPI node for 'commit e0579a5852b3 ("armv8/ls1043aqds: add DSPI
support")' and QSPI node for 'commit 166ef1e90ce4 ("armv8/ls1043aqds:
add QSPI support in SD boot")'.

Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
---
 arch/arm/dts/fsl-ls1043a-qds.dtsi | 46 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi
index b9dad72..66efe67 100644
--- a/arch/arm/dts/fsl-ls1043a-qds.dtsi
+++ b/arch/arm/dts/fsl-ls1043a-qds.dtsi
@@ -14,6 +14,52 @@
 
 / {
 	model = "LS1043A QDS Board";
+	aliases {
+		spi0 = &qspi;
+		spi1 = &dspi0;
+	};
+};
+
+&dspi0 {
+	bus-num = <0>;
+	status = "okay";
+
+	dflash0: n25q128a {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spi-flash";
+		reg = <0>;
+		spi-max-frequency = <1000000>; /* input clock */
+	};
+
+	dflash1: sst25wf040b {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spi-flash";
+		spi-max-frequency = <3500000>;
+		reg = <1>;
+	};
+
+	dflash2: en25s64 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spi-flash";
+		spi-max-frequency = <3500000>;
+		reg = <2>;
+	};
+};
+
+&qspi {
+	bus-num = <0>;
+	status = "okay";
+
+	qflash0: s25fl128s at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spi-flash";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
 };
 
 &i2c0 {
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] armv8/ls1043aqds: fix DSPI/QSPI node in dts file
  2016-02-01  5:09 [U-Boot] [PATCH] armv8/ls1043aqds: fix DSPI/QSPI node in dts file Gong Qianyu
@ 2016-02-01 22:04 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2016-02-01 22:04 UTC (permalink / raw)
  To: u-boot

On 01/31/2016 09:17 PM, Gong Qianyu wrote:
> Fix the lost dts info when merging patches.
> 
> Fix DSPI node for 'commit e0579a5852b3 ("armv8/ls1043aqds: add DSPI
> support")' and QSPI node for 'commit 166ef1e90ce4 ("armv8/ls1043aqds:
> add QSPI support in SD boot")'.
> 
> Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
> ---
>  arch/arm/dts/fsl-ls1043a-qds.dtsi | 46 +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)
> 

Applied to u-boot-fsl-qoriq master branch. Awaiting upstream.

Thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-01 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01  5:09 [U-Boot] [PATCH] armv8/ls1043aqds: fix DSPI/QSPI node in dts file Gong Qianyu
2016-02-01 22:04 ` york sun

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.