All of lore.kernel.org
 help / color / mirror / Atom feed
From: biju.das@bp.renesas.com (Biju Das)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 4.4.y-cip 02/12] ARM: dts: r8a7744: Add CAN support
Date: Fri,  6 Dec 2019 12:12:18 +0000	[thread overview]
Message-ID: <1575634348-10954-3-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1575634348-10954-1-git-send-email-biju.das@bp.renesas.com>

commit 56f1896093043c63c6ecd8a53080aa89d6b41070 upstream.

Add the definitions for can0 and can1 to the r8a7744 SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: Removed reset and updated clk and power domain properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index c73269c..4538689 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -819,13 +819,29 @@
 		};
 
 		can0: can at e6e80000 {
+			compatible = "renesas,can-r8a7744",
+				     "renesas,rcar-gen2-can";
 			reg = <0 0xe6e80000 0 0x1000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7744_CLK_RCAN0>,
+				 <&cpg_clocks R8A7744_CLK_RCAN>,
+				 <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
 		};
 
 		can1: can at e6e88000 {
+			compatible = "renesas,can-r8a7744",
+				     "renesas,rcar-gen2-can";
 			reg = <0 0xe6e88000 0 0x1000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7744_CLK_RCAN1>,
+				 <&cpg_clocks R8A7744_CLK_RCAN>,
+				 <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
 		};
 
 		rcar_sound: sound at ec500000 {
-- 
2.7.4

  parent reply	other threads:[~2019-12-06 12:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 01/12] dt-bindings: can: rcar_can: Add r8a7744 support Biju Das
2019-12-06 12:12 ` Biju Das [this message]
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 03/12] dt-bindings: irqchip: renesas-irqc: Document " Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 04/12] ARM: dts: r8a7744: Add IRQC support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 05/12] thermal: trip_point_temp_store() calls thermal_zone_device_update() Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 06/12] dt-bindings: thermal: rcar: Add device tree support for r8a7744 Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 07/12] ARM: dts: r8a7744: Add thermal device to DT Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 08/12] media: dt-bindings: media: rcar_vin: add device tree support for r8a7744 Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 09/12] ARM: dts: r8a7744: add VIN dt support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 10/12] ASoC: rsnd: Add r8a7744 support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 11/12] ARM: dts: r8a7744: Add audio support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 12/12] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB Biju Das
2019-12-06 21:48 ` [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Nobuhiro Iwamatsu
2019-12-06 22:29   ` Pavel Machek
2019-12-09 22:13     ` nobuhiro1.iwamatsu at toshiba.co.jp

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=1575634348-10954-3-git-send-email-biju.das@bp.renesas.com \
    --to=biju.das@bp.renesas.com \
    --cc=cip-dev@lists.cip-project.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.