All of lore.kernel.org
 help / color / mirror / Atom feed
From: michael@amarulasolutions.com (Michael Trimarchi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 1/4] ARM: dts: imx6ul: Add flexcan1 and flexcan2 support
Date: Sun, 21 Feb 2016 12:18:03 +0100	[thread overview]
Message-ID: <20160221111759.GA5387@panicking> (raw)
In-Reply-To: <CAOMZO5DfKi5KymQ6p9yF4ntqEJ7O=EEE7CKFmS-0N2XL8=ET7A@mail.gmail.com>

Add support for FLEXCAN1 and FLEXCAN2.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
Changes in V2:
	- remove stop-mode property because is not handle in
	  mainline

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

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 99b6465..f7b852e 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -14,6 +14,8 @@
 
 / {
 	aliases {
+		can0 = &flexcan1;
+		can1 = &flexcan2;
 		ethernet0 = &fec1;
 		ethernet1 = &fec2;
 		gpio0 = &gpio1;
@@ -234,6 +236,26 @@
 					clock-names = "ipg", "per";
 					status = "disabled";
 				};
+
+				flexcan1: can at 02090000 {
+					compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
+					reg = <0x02090000 0x4000>;
+					interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+					clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
+						 <&clks IMX6UL_CLK_CAN1_SERIAL>;
+					clock-names = "ipg", "per";
+					status = "disabled";
+				};
+
+				flexcan2: can at 02094000 {
+					compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
+					reg = <0x02094000 0x4000>;
+					interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
+					clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
+						 <&clks IMX6UL_CLK_CAN2_SERIAL>;
+					clock-names = "ipg", "per";
+					status = "disabled";
+				};
 			};
 
 			gpt1: gpt at 02098000 {
-- 
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 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 1/4] ARM: dts: imx6ul: Add flexcan1 and flexcan2 support
Date: Sun, 21 Feb 2016 12:18:03 +0100	[thread overview]
Message-ID: <20160221111759.GA5387@panicking> (raw)
In-Reply-To: <CAOMZO5DfKi5KymQ6p9yF4ntqEJ7O=EEE7CKFmS-0N2XL8=ET7A@mail.gmail.com>

Add support for FLEXCAN1 and FLEXCAN2.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
Changes in V2:
	- remove stop-mode property because is not handle in
	  mainline

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

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 99b6465..f7b852e 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -14,6 +14,8 @@
 
 / {
 	aliases {
+		can0 = &flexcan1;
+		can1 = &flexcan2;
 		ethernet0 = &fec1;
 		ethernet1 = &fec2;
 		gpio0 = &gpio1;
@@ -234,6 +236,26 @@
 					clock-names = "ipg", "per";
 					status = "disabled";
 				};
+
+				flexcan1: can@02090000 {
+					compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
+					reg = <0x02090000 0x4000>;
+					interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+					clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
+						 <&clks IMX6UL_CLK_CAN1_SERIAL>;
+					clock-names = "ipg", "per";
+					status = "disabled";
+				};
+
+				flexcan2: can@02094000 {
+					compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
+					reg = <0x02094000 0x4000>;
+					interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
+					clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
+						 <&clks IMX6UL_CLK_CAN2_SERIAL>;
+					clock-names = "ipg", "per";
+					status = "disabled";
+				};
 			};
 
 			gpt1: gpt@02098000 {
-- 
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:18 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
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
2016-02-20 14:02   ` Fabio Estevam
2016-02-20 14:02     ` Fabio Estevam
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         ` Michael Trimarchi [this message]
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   ` 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
2016-02-20 11:57   ` Fabio Estevam
2016-02-20 11:57     ` Fabio Estevam
2016-02-20 17:21     ` Michael Trimarchi
2016-02-20 17:21       ` Michael Trimarchi
2016-02-21 11:29       ` [PATCH V2 " Michael Trimarchi
2016-02-21 11:29         ` Michael Trimarchi
2016-02-22  8:26         ` Lothar Waßmann
2016-02-22  8:26           ` Lothar Waßmann
2016-03-20  8:44           ` Michael Trimarchi
2016-03-20  8:44             ` Michael Trimarchi
2016-03-21  9:47             ` Lothar Waßmann
2016-03-21  9:47               ` Lothar Waßmann
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
2016-02-20 14:11   ` Fabio Estevam
2016-02-20 14:11     ` Fabio Estevam
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=20160221111759.GA5387@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 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.