Commit 82e6c628 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

ARM: dts: r8a7790: Add TPU device node



Add support for the 4 PWM channels provided by the 16-bit Timer Pulse
Unit on R-Car H2, by adding a device node describing the TPU.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/75da1e63135a3fc8a3aaafbff7139bd5d7509be3.1679330727.git.geert+renesas@glider.be
parent 1b4d507e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -376,6 +376,17 @@ pfc: pinctrl@e6060000 {
			reg = <0 0xe6060000 0 0x250>;
		};

		tpu: pwm@e60f0000 {
			compatible = "renesas,tpu-r8a7790", "renesas,tpu";
			reg = <0 0xe60f0000 0 0x148>;
			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&cpg CPG_MOD 304>;
			power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
			resets = <&cpg 304>;
			#pwm-cells = <3>;
			status = "disabled";
		};

		cpg: clock-controller@e6150000 {
			compatible = "renesas,r8a7790-cpg-mssr";
			reg = <0 0xe6150000 0 0x1000>;