All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Trimarchi <michael@amarulasolutions.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	Brian Norris <computersforpeace@gmail.com>,
	Shawn Guo <shawnguo@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH V2 3/4] ARM: dts: imx6ul: Add GPMI nand controller support
Date: Sun, 21 Feb 2016 12:29:53 +0100	[thread overview]
Message-ID: <20160221112949.GB5387@panicking> (raw)
In-Reply-To: <20160220172127.GC24064@panicking>

Add support for GPMI nand controller.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
Changes V2:
	- drop special IMXUL type because seems that is compatible
	  with IMX6Q

 arch/arm/boot/dts/imx6ul.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index f4daf97..1a486ac 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -142,6 +142,39 @@
 			reg = <0x00900000 0x20000>;
 		};
 
+		dma_apbh: dma-apbh@01804000 {
+			compatible = "fsl,imx6ul-dma-apbh", "fsl,imx28-dma-apbh";
+			reg = <0x01804000 0x2000>;
+			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
+			#dma-cells = <1>;
+			dma-channels = <4>;
+			clocks = <&clks IMX6UL_CLK_APBHDMA>;
+		};
+
+		gpmi: gpmi-nand@01806000 {
+			compatible = "fsl,imx6q-gpmi-nand";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			reg = <0x01806000 0x2000>, <0x01808000 0x4000>;
+			reg-names = "gpmi-nand", "bch";
+			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "bch";
+			clocks = <&clks IMX6UL_CLK_GPMI_IO>,
+				 <&clks IMX6UL_CLK_GPMI_APB>,
+				 <&clks IMX6UL_CLK_GPMI_BCH>,
+				 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
+				 <&clks IMX6UL_CLK_PER_BCH>;
+			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
+				      "gpmi_bch_apb", "per1_bch";
+			dmas = <&dma_apbh 0>;
+			dma-names = "rx-tx";
+			status = "disabled";
+		};
+
 		aips1: aips-bus@02000000 {
 			compatible = "fsl,aips-bus", "simple-bus";
 			#address-cells = <1>;
-- 
2.7.0

-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |

WARNING: multiple messages have this Message-ID (diff)
From: michael@amarulasolutions.com (Michael Trimarchi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 3/4] ARM: dts: imx6ul: Add GPMI nand controller support
Date: Sun, 21 Feb 2016 12:29:53 +0100	[thread overview]
Message-ID: <20160221112949.GB5387@panicking> (raw)
In-Reply-To: <20160220172127.GC24064@panicking>

Add support for GPMI nand controller.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
Changes V2:
	- drop special IMXUL type because seems that is compatible
	  with IMX6Q

 arch/arm/boot/dts/imx6ul.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index f4daf97..1a486ac 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -142,6 +142,39 @@
 			reg = <0x00900000 0x20000>;
 		};
 
+		dma_apbh: dma-apbh at 01804000 {
+			compatible = "fsl,imx6ul-dma-apbh", "fsl,imx28-dma-apbh";
+			reg = <0x01804000 0x2000>;
+			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
+			#dma-cells = <1>;
+			dma-channels = <4>;
+			clocks = <&clks IMX6UL_CLK_APBHDMA>;
+		};
+
+		gpmi: gpmi-nand at 01806000 {
+			compatible = "fsl,imx6q-gpmi-nand";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			reg = <0x01806000 0x2000>, <0x01808000 0x4000>;
+			reg-names = "gpmi-nand", "bch";
+			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "bch";
+			clocks = <&clks IMX6UL_CLK_GPMI_IO>,
+				 <&clks IMX6UL_CLK_GPMI_APB>,
+				 <&clks IMX6UL_CLK_GPMI_BCH>,
+				 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
+				 <&clks IMX6UL_CLK_PER_BCH>;
+			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
+				      "gpmi_bch_apb", "per1_bch";
+			dmas = <&dma_apbh 0>;
+			dma-names = "rx-tx";
+			status = "disabled";
+		};
+
 		aips1: aips-bus at 02000000 {
 			compatible = "fsl,aips-bus", "simple-bus";
 			#address-cells = <1>;
-- 
2.7.0

-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |

  reply	other threads:[~2016-02-21 11:29 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-20 10:20 [PATCH 0/4] Add support for Engicam IMX6UL module Michael Trimarchi
2016-02-20 10:20 ` Michael Trimarchi
     [not found] ` <1455963652-24618-1-git-send-email-michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2016-02-20 10:20   ` [PATCH 1/4] ARM: dts: imx6ul: Add flexcan1 and flexcan2 support Michael Trimarchi
2016-02-20 10:20     ` Michael Trimarchi
     [not found]     ` <1455963652-24618-2-git-send-email-michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2016-02-20 14:02       ` Fabio Estevam
2016-02-20 14:02         ` Fabio Estevam
     [not found]         ` <CAOMZO5Bk_ZMhYzFLRFNK2TQvK4KHuj62AM_6uF-m-P1kJupTHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-20 17:18           ` Michael Trimarchi
2016-02-20 17:18             ` Michael Trimarchi
2016-02-20 17:29             ` Fabio Estevam
2016-02-20 17:29               ` Fabio Estevam
2016-02-21 11:18               ` [PATCH V2 " Michael Trimarchi
2016-02-21 11:18                 ` Michael Trimarchi
2016-02-20 10:20   ` [PATCH 2/4] ARM: dts: imx6ul: Add LCDIF support Michael Trimarchi
2016-02-20 10:20     ` Michael Trimarchi
2016-02-20 10:20   ` [PATCH 3/4] ARM: dts: imx6ul: Add GPMI nand controller support Michael Trimarchi
2016-02-20 10:20     ` Michael Trimarchi
     [not found]     ` <1455963652-24618-4-git-send-email-michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2016-02-20 11:57       ` Fabio Estevam
2016-02-20 11:57         ` Fabio Estevam
     [not found]         ` <CAOMZO5DTmG7Umt+H20r+tZi9zZhsK=eoPbHOBO3iwvM2GXXLgg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-20 17:21           ` Michael Trimarchi
2016-02-20 17:21             ` Michael Trimarchi
2016-02-21 11:29             ` Michael Trimarchi [this message]
2016-02-21 11:29               ` [PATCH V2 " Michael Trimarchi
2016-02-22  8:26               ` Lothar Waßmann
2016-02-22  8:26                 ` Lothar Waßmann
     [not found]                 ` <20160222092613.3c32a4a0-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>
2016-03-20  8:44                   ` Michael Trimarchi
2016-03-20  8:44                     ` Michael Trimarchi
     [not found]                     ` <CAOf5uwkn6k1YfMkMMSksKjakpP-NXsU0G9x0dyBao7n7NXSYug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-21  9:47                       ` Lothar Waßmann
2016-03-21  9:47                         ` Lothar Waßmann
     [not found]                         ` <20160321104718.05834ffa-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>
2016-03-22  7:44                           ` Michael Trimarchi
2016-03-22  7:44                             ` Michael Trimarchi
2016-02-20 10:20   ` [PATCH 4/4] ARM: dts: imx6ul-geam: Add Engicam IMX6UL GEA M6UL initial support Michael Trimarchi
2016-02-20 10:20     ` Michael Trimarchi
     [not found]     ` <1455963652-24618-5-git-send-email-michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2016-02-20 14:11       ` Fabio Estevam
2016-02-20 14:11         ` Fabio Estevam
     [not found]         ` <CAOMZO5AmePs3aE2zRSXcSS8iKQ0m2kvTAezsfHS13e-Zv1HCrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-20 17:19           ` Michael Trimarchi
2016-02-20 17:19             ` Michael Trimarchi
2016-02-20 17:30             ` Fabio Estevam
2016-02-20 17:30               ` Fabio Estevam
2016-02-21 15:32               ` [PATCH V2 " Michael Trimarchi
2016-02-21 15:32                 ` Michael Trimarchi
2016-03-30 11:47   ` [PATCH 0/4] Add support for Engicam IMX6UL module Shawn Guo
2016-03-30 11:47     ` Shawn Guo
2016-03-30 12:46     ` Michael Trimarchi
2016-03-30 12:46       ` Michael Trimarchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160221112949.GB5387@panicking \
    --to=michael@amarulasolutions.com \
    --cc=computersforpeace@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@freescale.com \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.