devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support
@ 2016-03-02  5:52 Yunhui Cui
       [not found] ` <1456897935-40507-1-git-send-email-B56489-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Yunhui Cui @ 2016-03-02  5:52 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	yao.yuan, leoli
  Cc: B56489, linux-kernel, linux-arm-kernel, devicetree

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

Signed-off-by: Yunhui Cui <B56489@freescale.com>
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
---
 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

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

* Re: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support
       [not found] ` <1456897935-40507-1-git-send-email-B56489-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2016-04-13  1:53   ` Shawn Guo
  2016-04-13  2:12     ` Yunhui Cui
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2016-04-13  1:53 UTC (permalink / raw)
  To: Yunhui Cui
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, yao.yuan-3arQi8VN3Tc,
	leoli-KZfg59tc24xl57MIdRCFDg, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

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 <B56489-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> Signed-off-by: Yuan Yao <yao.yuan-3arQi8VN3Tc@public.gmane.org>

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
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 
--
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] 3+ messages in thread

* RE: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support
  2016-04-13  1:53   ` Shawn Guo
@ 2016-04-13  2:12     ` Yunhui Cui
  0 siblings, 0 replies; 3+ messages in thread
From: Yunhui Cui @ 2016-04-13  2:12 UTC (permalink / raw)
  To: Shawn Guo, Yunhui Cui
  Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
	pawel.moll@arm.com, ijc+devicetree@hellion.org.uk,
	linux-kernel@vger.kernel.org, robh+dt@kernel.org, Yao Yuan,
	galak@codeaurora.org, leoli@freescale.com,
	linux-arm-kernel@lists.infradead.org

Hi Shawn,

Many thanks !

Thanks
Yunhui 

-----Original Message-----
From: Shawn Guo [mailto:shawnguo@kernel.org] 
Sent: Wednesday, April 13, 2016 9:53 AM
To: Yunhui Cui
Cc: robh+dt@kernel.org; pawel.moll@arm.com; mark.rutland@arm.com; ijc+devicetree@hellion.org.uk; galak@codeaurora.org; Yao Yuan; leoli@freescale.com; linux-kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org
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 <B56489@freescale.com>
> Signed-off-by: Yuan Yao <yao.yuan@nxp.com>

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
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

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

end of thread, other threads:[~2016-04-13  2:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02  5:52 [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support Yunhui Cui
     [not found] ` <1456897935-40507-1-git-send-email-B56489-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2016-04-13  1:53   ` Shawn Guo
2016-04-13  2:12     ` Yunhui Cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).