public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC
@ 2017-08-09  1:59 SZ Lin
       [not found] ` <CAFk6z8OwHJa5v65gCKTPzaoA_eHw7aud4uZikNZATr5kXe7kGw@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: SZ Lin @ 2017-08-09  1:59 UTC (permalink / raw)
  Cc: SZ Lin, Rob Herring, Mark Rutland, Russell King, devicetree,
	linux-arm-kernel, linux-kernel

Add QSPI node support, and this function is disabled by default
This setting could be overwritten in board-level definitions

Signed-off-by: SZ Lin <sz.lin@moxa.com>
---
 arch/arm/boot/dts/ls1021a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 7bb9df2c1460..9da876e47810 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -154,6 +154,20 @@
 			big-endian;
 		};
 
+		qspi: quadspi@1550000 {
+			compatible = "fsl,ls1021a-qspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x1550000 0x0 0x10000>,
+			      <0x0 0x40000000 0x0 0x40000000>;
+			reg-names = "QuadSPI", "QuadSPI-memory";
+			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "qspi_en", "qspi";
+			clocks = <&clockgen 4 1>, <&clockgen 4 1>;
+			big-endian;
+			status = "disabled";
+		};
+
 		esdhc: esdhc@1560000 {
 			compatible = "fsl,esdhc";
 			reg = <0x0 0x1560000 0x0 0x10000>;
-- 
2.14.0

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

* Re: [PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC
       [not found]   ` <CAFk6z8OwHJa5v65gCKTPzaoA_eHw7aud4uZikNZATr5kXe7kGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-08-21  8:38     ` SZ Lin (林上智)
  0 siblings, 0 replies; 2+ messages in thread
From: SZ Lin (林上智) @ 2017-08-21  8:38 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Russell King,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

> Add QSPI node support, and this function is disabled by default
> This setting could be overwritten in board-level definitions
> 
> Signed-off-by: SZ Lin <sz.lin-D4fb9hXD9d4@public.gmane.org>
> ---

Any feedback?

Best regards,
SZ Lin
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-08-21  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09  1:59 [PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC SZ Lin
     [not found] ` <CAFk6z8OwHJa5v65gCKTPzaoA_eHw7aud4uZikNZATr5kXe7kGw@mail.gmail.com>
     [not found]   ` <CAFk6z8OwHJa5v65gCKTPzaoA_eHw7aud4uZikNZATr5kXe7kGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-21  8:38     ` SZ Lin (林上智)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox