Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: r8a7792: Add CMT0 and CMT1 to r8a7792

Add CMT0 and CMT1 to the R-Car Gen2 V2H (r8a7792) SoC.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Magnus Damm and committed by
Simon Horman
9dd6f7c4 7eef616f

+34
+34
arch/arm/boot/dts/r8a7792.dtsi
··· 875 875 compatible = "renesas,prr"; 876 876 reg = <0 0xff000044 0 4>; 877 877 }; 878 + 879 + cmt0: timer@ffca0000 { 880 + compatible = "renesas,r8a7792-cmt0", 881 + "renesas,rcar-gen2-cmt0"; 882 + reg = <0 0xffca0000 0 0x1004>; 883 + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 884 + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; 885 + clocks = <&cpg CPG_MOD 124>; 886 + clock-names = "fck"; 887 + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; 888 + resets = <&cpg 124>; 889 + 890 + status = "disabled"; 891 + }; 892 + 893 + cmt1: timer@e6130000 { 894 + compatible = "renesas,r8a7792-cmt1", 895 + "renesas,rcar-gen2-cmt1"; 896 + reg = <0 0xe6130000 0 0x1004>; 897 + interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 898 + <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 899 + <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 900 + <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 901 + <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 902 + <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 903 + <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, 904 + <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 905 + clocks = <&cpg CPG_MOD 329>; 906 + clock-names = "fck"; 907 + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; 908 + resets = <&cpg 329>; 909 + 910 + status = "disabled"; 911 + }; 878 912 }; 879 913 880 914 timer {