renesas-soc.c (05b22caa7490e4f4c94bbde33c61cf72d187b8f7) renesas-soc.c (9711633587f4fb4376265781c75e39c2a7b21d6f)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Renesas SoC Identification
4 *
5 * Copyright (C) 2014-2016 Glider bvba
6 */
7
8#include <linux/io.h>

--- 19 unchanged lines hidden (view full) ---

28 .reg = 0xff000044, /* PRR (Product Register) */
29};
30
31static const struct renesas_family fam_rcar_gen3 __initconst __maybe_unused = {
32 .name = "R-Car Gen3",
33 .reg = 0xfff00044, /* PRR (Product Register) */
34};
35
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Renesas SoC Identification
4 *
5 * Copyright (C) 2014-2016 Glider bvba
6 */
7
8#include <linux/io.h>

--- 19 unchanged lines hidden (view full) ---

28 .reg = 0xff000044, /* PRR (Product Register) */
29};
30
31static const struct renesas_family fam_rcar_gen3 __initconst __maybe_unused = {
32 .name = "R-Car Gen3",
33 .reg = 0xfff00044, /* PRR (Product Register) */
34};
35
36static const struct renesas_family fam_rcar_gen4 __initconst __maybe_unused = {
37 .name = "R-Car Gen4",
38};
39
36static const struct renesas_family fam_rmobile __initconst __maybe_unused = {
37 .name = "R-Mobile",
38 .reg = 0xe600101c, /* CCCR (Common Chip Code Register) */
39};
40
41static const struct renesas_family fam_rza1 __initconst __maybe_unused = {
42 .name = "RZ/A1",
43};

--- 165 unchanged lines hidden (view full) ---

209 .id = 0x58,
210};
211
212static const struct renesas_soc soc_rcar_v3u __initconst __maybe_unused = {
213 .family = &fam_rcar_gen3,
214 .id = 0x59,
215};
216
40static const struct renesas_family fam_rmobile __initconst __maybe_unused = {
41 .name = "R-Mobile",
42 .reg = 0xe600101c, /* CCCR (Common Chip Code Register) */
43};
44
45static const struct renesas_family fam_rza1 __initconst __maybe_unused = {
46 .name = "RZ/A1",
47};

--- 165 unchanged lines hidden (view full) ---

213 .id = 0x58,
214};
215
216static const struct renesas_soc soc_rcar_v3u __initconst __maybe_unused = {
217 .family = &fam_rcar_gen3,
218 .id = 0x59,
219};
220
221static const struct renesas_soc soc_rcar_s4 __initconst __maybe_unused = {
222 .family = &fam_rcar_gen4,
223 .id = 0x5a,
224};
225
217static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = {
218 .family = &fam_shmobile,
219 .id = 0x37,
220};
221
222
223static const struct of_device_id renesas_socs[] __initconst = {
224#ifdef CONFIG_ARCH_R7S72100

--- 89 unchanged lines hidden (view full) ---

314#endif
315#ifdef CONFIG_ARCH_R8A77995
316 { .compatible = "renesas,r8a77995", .data = &soc_rcar_d3 },
317 { .compatible = "renesas,r8a779m7", .data = &soc_rcar_d3 },
318#endif
319#ifdef CONFIG_ARCH_R8A779A0
320 { .compatible = "renesas,r8a779a0", .data = &soc_rcar_v3u },
321#endif
226static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = {
227 .family = &fam_shmobile,
228 .id = 0x37,
229};
230
231
232static const struct of_device_id renesas_socs[] __initconst = {
233#ifdef CONFIG_ARCH_R7S72100

--- 89 unchanged lines hidden (view full) ---

323#endif
324#ifdef CONFIG_ARCH_R8A77995
325 { .compatible = "renesas,r8a77995", .data = &soc_rcar_d3 },
326 { .compatible = "renesas,r8a779m7", .data = &soc_rcar_d3 },
327#endif
328#ifdef CONFIG_ARCH_R8A779A0
329 { .compatible = "renesas,r8a779a0", .data = &soc_rcar_v3u },
330#endif
331#ifdef CONFIG_ARCH_R8A779F0
332 { .compatible = "renesas,r8a779f0", .data = &soc_rcar_s4 },
333#endif
322#if defined(CONFIG_ARCH_R9A07G044)
323 { .compatible = "renesas,r9a07g044", .data = &soc_rz_g2l },
324#endif
325#ifdef CONFIG_ARCH_SH73A0
326 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 },
327#endif
328 { /* sentinel */ }
329};

--- 116 unchanged lines hidden ---
334#if defined(CONFIG_ARCH_R9A07G044)
335 { .compatible = "renesas,r9a07g044", .data = &soc_rz_g2l },
336#endif
337#ifdef CONFIG_ARCH_SH73A0
338 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 },
339#endif
340 { /* sentinel */ }
341};

--- 116 unchanged lines hidden ---