All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org,
	robh+dt@kernel.org, mark.rutland@arm.com,
	devicetree@vger.kernel.org
Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: r8a7792: add CAN support
Date: Thu, 14 Jul 2016 23:20:35 +0300	[thread overview]
Message-ID: <18830980.VXHu8E8Ec7@wasted.cogentembedded.com> (raw)
In-Reply-To: <34968644.DhifNderY8@wasted.cogentembedded.com>

Define the generic R8A7792 parts of the CAN0/1 device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
 arch/arm/boot/dts/r8a7792.dtsi |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -468,6 +468,30 @@
 			status = "disabled";
 		};
 
+		can0: can@e6e80000 {
+			compatible = "renesas,can-r8a7792",
+				     "renesas,rcar-gen2-can";
+			reg = <0 0xe6e80000 0 0x1000>;
+			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7792_CLK_CAN0>,
+				 <&rcan_clk>, <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		can1: can@e6e88000 {
+			compatible = "renesas,can-r8a7792",
+				     "renesas,rcar-gen2-can";
+			reg = <0 0xe6e88000 0 0x1000>;
+			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7792_CLK_CAN1>,
+				 <&rcan_clk>, <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
 		/* Special CPG clocks */
 		cpg_clocks: cpg_clocks@e6150000 {
 			compatible = "renesas,r8a7792-cpg-clocks",

WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: r8a7792: add CAN support
Date: Thu, 14 Jul 2016 23:20:35 +0300	[thread overview]
Message-ID: <18830980.VXHu8E8Ec7@wasted.cogentembedded.com> (raw)
In-Reply-To: <34968644.DhifNderY8@wasted.cogentembedded.com>

Define the generic R8A7792 parts of the CAN0/1 device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
 arch/arm/boot/dts/r8a7792.dtsi |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -468,6 +468,30 @@
 			status = "disabled";
 		};
 
+		can0: can at e6e80000 {
+			compatible = "renesas,can-r8a7792",
+				     "renesas,rcar-gen2-can";
+			reg = <0 0xe6e80000 0 0x1000>;
+			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7792_CLK_CAN0>,
+				 <&rcan_clk>, <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		can1: can at e6e88000 {
+			compatible = "renesas,can-r8a7792",
+				     "renesas,rcar-gen2-can";
+			reg = <0 0xe6e88000 0 0x1000>;
+			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7792_CLK_CAN1>,
+				 <&rcan_clk>, <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
 		/* Special CPG clocks */
 		cpg_clocks: cpg_clocks at e6150000 {
 			compatible = "renesas,r8a7792-cpg-clocks",

  parent reply	other threads:[~2016-07-14 20:20 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 20:18 [PATCH 0/3] Add R8A7792/Blanche CAN support Sergei Shtylyov
2016-07-14 20:18 ` Sergei Shtylyov
2016-07-14 20:19 ` [PATCH 1/3] ARM: dts: r8a7792: add CAN clocks Sergei Shtylyov
2016-07-14 20:19   ` Sergei Shtylyov
2016-07-15  3:19   ` Geert Uytterhoeven
2016-07-15  3:19     ` Geert Uytterhoeven
2016-07-14 20:20 ` Sergei Shtylyov [this message]
2016-07-14 20:20   ` [PATCH 2/3] ARM: dts: r8a7792: add CAN support Sergei Shtylyov
2016-07-15  3:21   ` Geert Uytterhoeven
2016-07-15  3:21     ` Geert Uytterhoeven
2016-07-14 20:21 ` [PATCH 3/3] ARM: dts: blanche: add CAN0 support Sergei Shtylyov
2016-07-14 20:21   ` Sergei Shtylyov
2016-07-18  2:10 ` [PATCH 0/3] Add R8A7792/Blanche CAN support Simon Horman
2016-07-18  2:10   ` Simon Horman
     [not found] ` <34968644.DhifNderY8-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-08-29 20:11   ` [PATCH] ARM: dts: wheat: add " Sergei Shtylyov
2016-08-29 20:11     ` Sergei Shtylyov
2016-08-29 20:11     ` Sergei Shtylyov
2016-09-03 21:50     ` Sergei Shtylyov
2016-09-03 21:50       ` Sergei Shtylyov
2016-09-03 21:50       ` Sergei Shtylyov
2016-09-05 12:03       ` Simon Horman
2016-09-05 12:03         ` Simon Horman
2016-08-30 22:24   ` [PATCH] ARM: dts: wheat: add SDHI0 support Sergei Shtylyov
2016-08-30 22:24     ` Sergei Shtylyov
2016-08-30 22:24     ` Sergei Shtylyov
     [not found]     ` <1659137.gEKJxNrmrk-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-08-31  7:06       ` Geert Uytterhoeven
2016-08-31  7:06         ` Geert Uytterhoeven
2016-08-31  7:06         ` Geert Uytterhoeven
2016-09-03 21:49       ` Sergei Shtylyov
2016-09-03 21:49         ` Sergei Shtylyov
2016-09-03 21:49         ` Sergei Shtylyov
2016-09-05 12:07         ` Simon Horman
2016-09-05 12:07           ` Simon Horman
2016-09-22 21:06   ` [PATCH v2] ARM: dts: wheat: add DU support Sergei Shtylyov
2016-09-22 21:06     ` Sergei Shtylyov
2016-09-22 21:06     ` Sergei Shtylyov
2016-09-23  7:37     ` Simon Horman
2016-09-23  7:37       ` Simon Horman
2016-09-01 21:29 ` [PATCH] " Sergei Shtylyov
2016-09-01 21:29   ` Sergei Shtylyov
2016-09-12 17:52   ` Sergei Shtylyov
2016-09-12 17:52     ` Sergei Shtylyov
2016-09-16 10:11     ` Simon Horman
2016-09-16 10:11       ` Simon Horman

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=18830980.VXHu8E8Ec7@wasted.cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@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.