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

1 // SPDX-License-Identifier: GPL-2.0
3 * r8a7795 Clock Pulse Generator / Module Standby and Software Reset
6 * Copyright (C) 2018-2019 Renesas Electronics Corp.
8 * Based on clk-rcar-gen3.c
16 #include <linux/soc/renesas/rcar-rst.h>
19 #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
21 #include "renesas-cpg-mssr.h"
22 #include "rcar-gen3-cpg.h"
133 DEF_MOD("fdp1-1", 118, R8A7795_CLK_S0D1),
134 DEF_MOD("fdp1-0", 119, R8A7795_CLK_S0D1),
149 DEF_MOD("sys-dmac2", 217, R8A7795_CLK_S3D1),
150 DEF_MOD("sys-dmac1", 218, R8A7795_CLK_S3D1),
151 DEF_MOD("sys-dmac0", 219, R8A7795_CLK_S0D3),
152 DEF_MOD("sceg-pub", 229, R8A7795_CLK_CR),
165 DEF_MOD("usb-dmac30", 326, R8A7795_CLK_S3D1),
166 DEF_MOD("usb3-if0", 328, R8A7795_CLK_S3D1),
167 DEF_MOD("usb-dmac31", 329, R8A7795_CLK_S3D1),
168 DEF_MOD("usb-dmac0", 330, R8A7795_CLK_S3D1),
169 DEF_MOD("usb-dmac1", 331, R8A7795_CLK_S3D1),
171 DEF_MOD("intc-ex", 407, R8A7795_CLK_CP),
172 DEF_MOD("intc-ap", 408, R8A7795_CLK_S0D3),
250 DEF_MOD("can-fd", 914, R8A7795_CLK_S3D2),
251 DEF_MOD("can-if1", 915, R8A7795_CLK_S3D4),
252 DEF_MOD("can-if0", 916, R8A7795_CLK_S3D4),
253 DEF_MOD("rpc-if", 917, R8A7795_CLK_RPCD2),
257 DEF_MOD("i2c-dvfs", 926, R8A7795_CLK_CP),
263 DEF_MOD("ssi-all", 1005, R8A7795_CLK_S3D4),
274 DEF_MOD("scu-all", 1017, R8A7795_CLK_S3D4),
275 DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
276 DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
277 DEF_MOD("scu-ctu1-mix1", 1020, MOD_CLK_ID(1017)),
278 DEF_MOD("scu-ctu0-mix0", 1021, MOD_CLK_ID(1017)),
279 DEF_MOD("scu-src9", 1022, MOD_CLK_ID(1017)),
280 DEF_MOD("scu-src8", 1023, MOD_CLK_ID(1017)),
281 DEF_MOD("scu-src7", 1024, MOD_CLK_ID(1017)),
282 DEF_MOD("scu-src6", 1025, MOD_CLK_ID(1017)),
283 DEF_MOD("scu-src5", 1026, MOD_CLK_ID(1017)),
284 DEF_MOD("scu-src4", 1027, MOD_CLK_ID(1017)),
285 DEF_MOD("scu-src3", 1028, MOD_CLK_ID(1017)),
286 DEF_MOD("scu-src2", 1029, MOD_CLK_ID(1017)),
287 DEF_MOD("scu-src1", 1030, MOD_CLK_ID(1017)),
288 DEF_MOD("scu-src0", 1031, MOD_CLK_ID(1017)),
293 MOD_CLK_ID(408), /* INTC-AP (GIC) */
303 *-------------------------------------------------------------------------
347 { .soc_id = "r8a7795", .revision = "ES1.*" },
371 if (!cpg_pll_config->extal_div) { in r8a7795_cpg_mssr_init()
373 return -EINVAL; in r8a7795_cpg_mssr_init()