linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: socfpga: add nand controller nodes
@ 2016-11-09  7:35 Steffen Trumtrar
  2016-11-09 18:48 ` Dinh Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Trumtrar @ 2016-11-09  7:35 UTC (permalink / raw)
  To: linux-arm-kernel

Add the denali nand controller to the socfpga dtsi.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/boot/dts/socfpga.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 9f48141270b8..6b0c23ca5e88 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -700,6 +700,19 @@
 			status = "disabled";
 		};
 
+		nand0: nand at ff900000 {
+			#address-cells = <0x1>;
+			#size-cells = <0x1>;
+			compatible = "denali,denali-nand-dt";
+			reg = <0xff900000 0x100000>,
+			      <0xffb80000 0x10000>;
+			reg-names = "nand_data", "denali_reg";
+			interrupts = <0x0 0x90 0x4>;
+			dma-mask = <0xffffffff>;
+			clocks = <&nand_clk>;
+			status = "disabled";
+		};
+
 		ocram: sram at ffff0000 {
 			compatible = "mmio-sram";
 			reg = <0xffff0000 0x10000>;
-- 
2.10.1

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

* [PATCH] ARM: dts: socfpga: add nand controller nodes
  2016-11-09  7:35 [PATCH] ARM: dts: socfpga: add nand controller nodes Steffen Trumtrar
@ 2016-11-09 18:48 ` Dinh Nguyen
  2016-11-10  8:39   ` Steffen Trumtrar
  0 siblings, 1 reply; 3+ messages in thread
From: Dinh Nguyen @ 2016-11-09 18:48 UTC (permalink / raw)
  To: linux-arm-kernel



On 11/09/2016 01:35 AM, Steffen Trumtrar wrote:
> Add the denali nand controller to the socfpga dtsi.
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
>  arch/arm/boot/dts/socfpga.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index 9f48141270b8..6b0c23ca5e88 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -700,6 +700,19 @@
>  			status = "disabled";
>  		};
>  
> +		nand0: nand at ff900000 {
> +			#address-cells = <0x1>;
> +			#size-cells = <0x1>;
> +			compatible = "denali,denali-nand-dt";
> +			reg = <0xff900000 0x100000>,
> +			      <0xffb80000 0x10000>;
> +			reg-names = "nand_data", "denali_reg";
> +			interrupts = <0x0 0x90 0x4>;
> +			dma-mask = <0xffffffff>;
> +			clocks = <&nand_clk>;
> +			status = "disabled";
> +		};
> +
>  		ocram: sram at ffff0000 {
>  			compatible = "mmio-sram";
>  			reg = <0xffff0000 0x10000>;
> 

Since there's only 1 NAND node, do we need to call the node "nand0"? No
need to resend a patch, I can change it locally if we agree that the
node should be just:

nand: nand at ff900000

Dinh

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

* [PATCH] ARM: dts: socfpga: add nand controller nodes
  2016-11-09 18:48 ` Dinh Nguyen
@ 2016-11-10  8:39   ` Steffen Trumtrar
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Trumtrar @ 2016-11-10  8:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 09, 2016 at 12:48:21PM -0600, Dinh Nguyen wrote:
> 
> 
> On 11/09/2016 01:35 AM, Steffen Trumtrar wrote:
> > Add the denali nand controller to the socfpga dtsi.
> > 
> > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> > ---
> >  arch/arm/boot/dts/socfpga.dtsi | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> > index 9f48141270b8..6b0c23ca5e88 100644
> > --- a/arch/arm/boot/dts/socfpga.dtsi
> > +++ b/arch/arm/boot/dts/socfpga.dtsi
> > @@ -700,6 +700,19 @@
> >  			status = "disabled";
> >  		};
> >  
> > +		nand0: nand at ff900000 {
> > +			#address-cells = <0x1>;
> > +			#size-cells = <0x1>;
> > +			compatible = "denali,denali-nand-dt";
> > +			reg = <0xff900000 0x100000>,
> > +			      <0xffb80000 0x10000>;
> > +			reg-names = "nand_data", "denali_reg";
> > +			interrupts = <0x0 0x90 0x4>;
> > +			dma-mask = <0xffffffff>;
> > +			clocks = <&nand_clk>;
> > +			status = "disabled";
> > +		};
> > +
> >  		ocram: sram at ffff0000 {
> >  			compatible = "mmio-sram";
> >  			reg = <0xffff0000 0x10000>;
> > 
> 
> Since there's only 1 NAND node, do we need to call the node "nand0"? No
> need to resend a patch, I can change it locally if we agree that the
> node should be just:
> 
> nand: nand at ff900000
> 

Okay with me. Go ahead.

Thanks,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

end of thread, other threads:[~2016-11-10  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09  7:35 [PATCH] ARM: dts: socfpga: add nand controller nodes Steffen Trumtrar
2016-11-09 18:48 ` Dinh Nguyen
2016-11-10  8:39   ` Steffen Trumtrar

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).