2017-09-12 06:51:03

by SZ Lin

[permalink] [raw]
Subject: [RESEND PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

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 <[email protected]>
---
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.1


2017-09-19 08:50:57

by SZ Lin

[permalink] [raw]
Subject: RE: [RESEND PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

> 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 <[email protected]>
> ---

This is a resend patch [1]. Any feedback would be greatly appreciated!

ref:
[1]: https://patchwork.kernel.org/patch/9889431/

Best regards,
SZ Lin

2017-11-16 07:39:06

by Shawn Guo

[permalink] [raw]
Subject: Re: [RESEND PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

On Wed, Oct 25, 2017 at 04:00:36PM -0500, Li Yang wrote:
> On Tue, Sep 12, 2017 at 1:49 AM, SZ Lin <[email protected]> wrote:
> > Add QSPI node support, and this function is disabled by default
> > This setting could be overwritten in board-level definitions
>
> Adding Shawn Guo.
>
> >
> > Signed-off-by: SZ Lin <[email protected]>
>
> Acked-by: Li Yang <[email protected]>

Applied, thanks.

From 1582264797525957296@xxx Wed Oct 25 21:01:39 +0000 2017
X-GM-THRID: 1578315679430361684
X-Gmail-Labels: Inbox,Category Forums

2017-10-25 21:01:39

by Leo Li

[permalink] [raw]
Subject: Re: [RESEND PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

On Tue, Sep 12, 2017 at 1:49 AM, SZ Lin <[email protected]> wrote:
> Add QSPI node support, and this function is disabled by default
> This setting could be overwritten in board-level definitions

Adding Shawn Guo.

>
> Signed-off-by: SZ Lin <[email protected]>

Acked-by: Li Yang <[email protected]>

> ---
> 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.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

From 1578957402997236866@xxx Tue Sep 19 08:52:01 +0000 2017
X-GM-THRID: 1578315679430361684
X-Gmail-Labels: Inbox,Category Forums