Lines Matching +full:rcar +full:- +full:gen2 +full:- +full:cmt0
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2017 Glider bvba
7 * Based on clk-rcar-gen2.c
16 #include <linux/soc/renesas/rcar-rst.h>
18 #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
20 #include "renesas-cpg-mssr.h"
21 #include "rcar-gen2-cpg.h"
96 DEF_MOD("2d-dmac", 115, R8A7791_CLK_ZS),
97 DEF_MOD("fdp1-1", 118, R8A7791_CLK_ZS),
98 DEF_MOD("fdp1-0", 119, R8A7791_CLK_ZS),
101 DEF_MOD("cmt0", 124, R8A7791_CLK_R),
114 DEF_MOD("sys-dmac1", 218, R8A7791_CLK_ZS),
115 DEF_MOD("sys-dmac0", 219, R8A7791_CLK_ZS),
126 DEF_MOD("usbhs-dmac0", 330, R8A7791_CLK_HP),
127 DEF_MOD("usbhs-dmac1", 331, R8A7791_CLK_HP),
130 DEF_MOD("intc-sys", 408, R8A7791_CLK_ZS),
131 DEF_MOD("audio-dmac1", 501, R8A7791_CLK_HP),
132 DEF_MOD("audio-dmac0", 502, R8A7791_CLK_HP),
136 DEF_MOD("usb-ehci", 703, R8A7791_CLK_MP),
150 DEF_MOD("ipmmu-sgx", 800, R8A7791_CLK_ZX),
159 DEF_MOD("gyro-adc", 901, R8A7791_CLK_P),
178 DEF_MOD("ssi-all", 1005, R8A7791_CLK_P),
189 DEF_MOD("scu-all", 1017, R8A7791_CLK_P),
190 DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
191 DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
192 DEF_MOD("scu-ctu1-mix1", 1020, MOD_CLK_ID(1017)),
193 DEF_MOD("scu-ctu0-mix0", 1021, MOD_CLK_ID(1017)),
194 DEF_MOD("scu-src9", 1022, MOD_CLK_ID(1017)),
195 DEF_MOD("scu-src8", 1023, MOD_CLK_ID(1017)),
196 DEF_MOD("scu-src7", 1024, MOD_CLK_ID(1017)),
197 DEF_MOD("scu-src6", 1025, MOD_CLK_ID(1017)),
198 DEF_MOD("scu-src5", 1026, MOD_CLK_ID(1017)),
199 DEF_MOD("scu-src4", 1027, MOD_CLK_ID(1017)),
200 DEF_MOD("scu-src3", 1028, MOD_CLK_ID(1017)),
201 DEF_MOD("scu-src2", 1029, MOD_CLK_ID(1017)),
202 DEF_MOD("scu-src1", 1030, MOD_CLK_ID(1017)),
203 DEF_MOD("scu-src0", 1031, MOD_CLK_ID(1017)),
211 MOD_CLK_ID(408), /* INTC-SYS (GIC) */
221 *---------------------------------------------------
244 struct device_node *np = dev->of_node; in r8a7791_cpg_mssr_init()
255 if (of_device_is_compatible(np, "renesas,r8a7793-cpg-mssr")) { in r8a7791_cpg_mssr_init()
256 /* R-Car M2-N uses a 1/5 divider for ZG */ in r8a7791_cpg_mssr_init()