public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
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: 22+ 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 ` [PATCH 1/4] ARM: dts: imx6ul: Add flexcan1 and flexcan2 support Michael Trimarchi
2016-02-20 14:02   ` Fabio Estevam
2016-02-20 17:18     ` Michael Trimarchi
2016-02-20 17:29       ` Fabio Estevam
2016-02-21 11:18         ` [PATCH V2 " Michael Trimarchi
2016-02-20 10:20 ` [PATCH 2/4] ARM: dts: imx6ul: Add LCDIF support Michael Trimarchi
2016-02-20 10:20 ` [PATCH 3/4] ARM: dts: imx6ul: Add GPMI nand controller support Michael Trimarchi
2016-02-20 11:57   ` Fabio Estevam
2016-02-20 17:21     ` Michael Trimarchi
2016-02-21 11:29       ` Michael Trimarchi [this message]
2016-02-22  8:26         ` [PATCH V2 " Lothar Waßmann
2016-03-20  8:44           ` Michael Trimarchi
2016-03-21  9:47             ` Lothar Waßmann
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 14:11   ` Fabio Estevam
2016-02-20 17:19     ` Michael Trimarchi
2016-02-20 17:30       ` Fabio Estevam
2016-02-21 15:32         ` [PATCH V2 " Michael Trimarchi
2016-03-30 11:47 ` [PATCH 0/4] Add support for Engicam IMX6UL module Shawn Guo
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=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox