linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cao Van Dong <cv-dong@jinso.co.jp>
To: linux-renesas-soc@vger.kernel.org, broonie@kernel.org,
	geert+renesas@glider.be, horms+renesas@verge.net.au,
	devicetree@vger.kernel.org
Cc: yoshihiro.shimoda.uh@renesas.com,
	kuninori.morimoto.gx@renesas.com, h-inayoshi@jinso.co.jp,
	nv-dung@jinso.co.jp, na-hoan@jinso.co.jp
Subject: [PATCH 03/11] ARM: dts: r8a77470: Add PWM support
Date: Tue,  9 Apr 2019 17:51:44 +0900	[thread overview]
Message-ID: <1554799912-24764-4-git-send-email-cv-dong@jinso.co.jp> (raw)
In-Reply-To: <1554799912-24764-1-git-send-email-cv-dong@jinso.co.jp>

Add pwm{0|1|2|3|4|5|6} nodes to dtsi for PWM support on the RZ/G1C (r8a77470) SoC.

Signed-off-by: Cao Van Dong <cv-dong@jinso.co.jp>
---
 arch/arm/boot/dts/r8a77470.dtsi | 70 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index a7d3f88..848280f 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -684,6 +684,76 @@
 			status = "disabled";
 		};
 
+		pwm0: pwm@e6e30000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e30000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
+		pwm1: pwm@e6e31000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e31000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
+		pwm2: pwm@e6e32000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e32000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
+		pwm3: pwm@e6e33000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e33000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
+		pwm4: pwm@e6e34000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e34000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
+		pwm5: pwm@e6e35000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e35000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
+		pwm6: pwm@e6e36000 {
+			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
+			reg = <0 0xe6e36000 0 0x8>;
+			clocks = <&cpg CPG_MOD 523>;
+			power-domains = <&sysc r8a77470_PD_ALWAYS_ON>;
+			resets = <&cpg 523>;
+			#pwm-cells = <2>;
+			status = "disabled";
+		};
+
 		sdhi0: sd@ee100000 {
 			compatible = "renesas,sdhi-r8a77470",
 				     "renesas,rcar-gen2-sdhi";
-- 
2.7.4


  parent reply	other threads:[~2019-04-09  8:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-09  8:51 [PATCH 00/11] Add more support to the RZ/G1C (r8a77470) SoC Cao Van Dong
2019-04-09  8:51 ` [PATCH 01/11] ARM: dts: r8a77470: Add HSCIF support Cao Van Dong
2019-04-09 11:51   ` Simon Horman
2019-04-09 12:15     ` Simon Horman
2019-04-10  0:16       ` Cao Van Dong
2019-04-09  8:51 ` [PATCH 02/11] ARM: dts: r8a77470: Add MSIOF support Cao Van Dong
2019-04-09 11:55   ` Simon Horman
2019-04-09  8:51 ` Cao Van Dong [this message]
2019-04-09 11:59   ` [PATCH 03/11] ARM: dts: r8a77470: Add PWM support Simon Horman
2019-04-09  8:51 ` [PATCH 04/11] ARM: dts: r8a77470: Add CAN support Cao Van Dong
2019-04-09 12:01   ` Simon Horman
2019-04-09  8:51 ` [PATCH 05/11] ARM: dts: r8a77470: Add VIN support Cao Van Dong
2019-04-09 12:04   ` Simon Horman
2019-04-09 13:01   ` Niklas Söderlund
2019-04-10  0:23     ` Cao Van Dong
2019-04-10  0:39     ` Kuninori Morimoto
2019-04-12 12:08     ` Simon Horman
2019-04-30 13:02   ` Geert Uytterhoeven
2019-04-09  8:51 ` [PATCH 06/11] ARM: dts: r8a77470: Add Audio support Cao Van Dong
2019-04-10  0:37   ` Kuninori Morimoto
2019-04-10  0:51     ` Cao Van Dong
2019-04-10  1:16       ` Kuninori Morimoto
2019-04-10  1:33         ` Cao Van Dong
2019-04-10  9:39           ` Simon Horman
2019-04-11  8:26     ` Cao Van Dong
2019-04-09  8:51 ` [PATCH 07/11] ARM: dts: r8a77470: Add Audio-DMAC support Cao Van Dong
2019-04-09  8:51 ` [PATCH 08/11] ARM: dts: r8a77470: Add Ether support Cao Van Dong
2019-04-09  8:51 ` [PATCH 09/11] ARM: dts: r8a77470: Add VSP support Cao Van Dong
2019-04-09  8:51 ` [PATCH 10/11] ARM: dts: r8a77470: Add FDP1 support Cao Van Dong
2019-04-09  8:51 ` [PATCH 11/11] ARM: dts: r8a77470: Add LVDS support Cao Van Dong

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=1554799912-24764-4-git-send-email-cv-dong@jinso.co.jp \
    --to=cv-dong@jinso.co.jp \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=h-inayoshi@jinso.co.jp \
    --cc=horms+renesas@verge.net.au \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=na-hoan@jinso.co.jp \
    --cc=nv-dung@jinso.co.jp \
    --cc=yoshihiro.shimoda.uh@renesas.com \
    /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;
as well as URLs for NNTP newsgroup(s).