2016-03-02 06:34:35

by Yunhui Cui

[permalink] [raw]
Subject: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

This patch adds dts nodes for DSPI on LS1043A-RDB.

Signed-off-by: Yunhui Cui <[email protected]>
Signed-off-by: Yuan Yao <[email protected]>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
index ce23557..f895fc0 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
@@ -107,6 +107,19 @@
};
};

+&dspi0 {
+ bus-num = <0>;
+ status = "okay";
+
+ flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */
+ reg = <0>;
+ spi-max-frequency = <1000000>; /* input clock */
+ };
+};
+
&duart0 {
status = "okay";
};
--
2.1.0.27.g96db324


2016-04-13 01:53:47

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

On Wed, Mar 02, 2016 at 01:52:15PM +0800, Yunhui Cui wrote:
> This patch adds dts nodes for DSPI on LS1043A-RDB.
>
> Signed-off-by: Yunhui Cui <[email protected]>
> Signed-off-by: Yuan Yao <[email protected]>

The patch subject prefix should be like 'arm64: dts: ls1043a-rdb: '. I
fixed it up and applied the patch.

Shawn

> ---
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> index ce23557..f895fc0 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> @@ -107,6 +107,19 @@
> };
> };
>
> +&dspi0 {
> + bus-num = <0>;
> + status = "okay";
> +
> + flash@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */
> + reg = <0>;
> + spi-max-frequency = <1000000>; /* input clock */
> + };
> +};
> +
> &duart0 {
> status = "okay";
> };
> --
> 2.1.0.27.g96db324
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>

2016-04-13 02:44:59

by Yunhui Cui

[permalink] [raw]
Subject: RE: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

Hi Shawn,

Many thanks !

Thanks
Yunhui

-----Original Message-----
From: Shawn Guo [mailto:[email protected]]
Sent: Wednesday, April 13, 2016 9:53 AM
To: Yunhui Cui
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Yao Yuan; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

On Wed, Mar 02, 2016 at 01:52:15PM +0800, Yunhui Cui wrote:
> This patch adds dts nodes for DSPI on LS1043A-RDB.
>
> Signed-off-by: Yunhui Cui <[email protected]>
> Signed-off-by: Yuan Yao <[email protected]>

The patch subject prefix should be like 'arm64: dts: ls1043a-rdb: '. I fixed it up and applied the patch.

Shawn

> ---
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> index ce23557..f895fc0 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
> @@ -107,6 +107,19 @@
> };
> };
>
> +&dspi0 {
> + bus-num = <0>;
> + status = "okay";
> +
> + flash@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */
> + reg = <0>;
> + spi-max-frequency = <1000000>; /* input clock */
> + };
> +};
> +
> &duart0 {
> status = "okay";
> };
> --
> 2.1.0.27.g96db324
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>