Lines Matching +full:r8a7795 +full:- +full:rst

1 // SPDX-License-Identifier: GPL-2.0
3 * r8a7796 (R-Car M3-W/W+) Clock Pulse Generator / Module Standby and Software
6 * Copyright (C) 2016-2019 Glider bvba
7 * Copyright (C) 2018-2019 Renesas Electronics Corp.
9 * Based on r8a7795-cpg-mssr.c
19 #include <linux/soc/renesas/rcar-rst.h>
21 #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
23 #include "renesas-cpg-mssr.h"
24 #include "rcar-gen3-cpg.h"
135 DEF_MOD("fdp1-0", 119, R8A7796_CLK_S0D1),
150 DEF_MOD("sys-dmac2", 217, R8A7796_CLK_S3D1),
151 DEF_MOD("sys-dmac1", 218, R8A7796_CLK_S3D1),
152 DEF_MOD("sys-dmac0", 219, R8A7796_CLK_S0D3),
153 DEF_MOD("sceg-pub", 229, R8A7796_CLK_CR),
166 DEF_MOD("usb3-if0", 328, R8A7796_CLK_S3D1),
167 DEF_MOD("usb-dmac0", 330, R8A7796_CLK_S3D1),
168 DEF_MOD("usb-dmac1", 331, R8A7796_CLK_S3D1),
170 DEF_MOD("intc-ex", 407, R8A7796_CLK_CP),
171 DEF_MOD("intc-ap", 408, R8A7796_CLK_S0D3),
235 DEF_MOD("can-fd", 914, R8A7796_CLK_S3D2),
236 DEF_MOD("can-if1", 915, R8A7796_CLK_S3D4),
237 DEF_MOD("can-if0", 916, R8A7796_CLK_S3D4),
238 DEF_MOD("rpc-if", 917, R8A7796_CLK_RPCD2),
242 DEF_MOD("i2c-dvfs", 926, R8A7796_CLK_CP),
248 DEF_MOD("ssi-all", 1005, R8A7796_CLK_S3D4),
259 DEF_MOD("scu-all", 1017, R8A7796_CLK_S3D4),
260 DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
261 DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
262 DEF_MOD("scu-ctu1-mix1", 1020, MOD_CLK_ID(1017)),
263 DEF_MOD("scu-ctu0-mix0", 1021, MOD_CLK_ID(1017)),
264 DEF_MOD("scu-src9", 1022, MOD_CLK_ID(1017)),
265 DEF_MOD("scu-src8", 1023, MOD_CLK_ID(1017)),
266 DEF_MOD("scu-src7", 1024, MOD_CLK_ID(1017)),
267 DEF_MOD("scu-src6", 1025, MOD_CLK_ID(1017)),
268 DEF_MOD("scu-src5", 1026, MOD_CLK_ID(1017)),
269 DEF_MOD("scu-src4", 1027, MOD_CLK_ID(1017)),
270 DEF_MOD("scu-src3", 1028, MOD_CLK_ID(1017)),
271 DEF_MOD("scu-src2", 1029, MOD_CLK_ID(1017)),
272 DEF_MOD("scu-src1", 1030, MOD_CLK_ID(1017)),
273 DEF_MOD("scu-src0", 1031, MOD_CLK_ID(1017)),
278 MOD_CLK_ID(408), /* INTC-AP (GIC) */
288 *-------------------------------------------------------------------------
332 * Fixups for R-Car M3-W+
350 if (!cpg_pll_config->extal_div) { in r8a7796_cpg_mssr_init()
352 return -EINVAL; in r8a7796_cpg_mssr_init()
355 if (of_device_is_compatible(dev->of_node, "renesas,r8a77961-cpg-mssr")) in r8a7796_cpg_mssr_init()