Re: [PATCH 4/5] ARM: dts: r8a7744: Add PWM SoC support

2018-11-30 Thread Geert Uytterhoeven
On Wed, Nov 28, 2018 at 5:47 PM Biju Das  wrote:
> Add the definitions for pwm[0123456] to the SoC dtsi.
>
> Signed-off-by: Biju Das 

Reviewed-by: Geert Uytterhoeven 

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


[PATCH 4/5] ARM: dts: r8a7744: Add PWM SoC support

2018-11-28 Thread Biju Das
Add the definitions for pwm[0123456] to the SoC dtsi.

Signed-off-by: Biju Das 
---
 arch/arm/boot/dts/r8a7744.dtsi | 70 ++
 1 file changed, 70 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 152431c..43da6a0 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -1050,6 +1050,76 @@
status = "disabled";
};
 
+   pwm0: pwm@e6e3 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e3 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
+   pwm1: pwm@e6e31000 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e31000 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
+   pwm2: pwm@e6e32000 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e32000 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
+   pwm3: pwm@e6e33000 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e33000 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
+   pwm4: pwm@e6e34000 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e34000 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
+   pwm5: pwm@e6e35000 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e35000 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
+   pwm6: pwm@e6e36000 {
+   compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+   reg = <0 0xe6e36000 0 0x8>;
+   clocks = <&cpg CPG_MOD 523>;
+   power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+   resets = <&cpg 523>;
+   #pwm-cells = <2>;
+   status = "disabled";
+   };
+
can0: can@e6e8 {
compatible = "renesas,can-r8a7744",
 "renesas,rcar-gen2-can";
-- 
2.7.4