renesas-soc.c (1ac731c529cd4d6adbce134754b51ff7d822b145) renesas-soc.c (0b9729cdb895a477ba3551cd2102baee2e697cbb)
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>

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

67static const struct renesas_family fam_rzg2l __initconst __maybe_unused = {
68 .name = "RZ/G2L",
69};
70
71static const struct renesas_family fam_rzg2ul __initconst __maybe_unused = {
72 .name = "RZ/G2UL",
73};
74
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>

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

67static const struct renesas_family fam_rzg2l __initconst __maybe_unused = {
68 .name = "RZ/G2L",
69};
70
71static const struct renesas_family fam_rzg2ul __initconst __maybe_unused = {
72 .name = "RZ/G2UL",
73};
74
75static const struct renesas_family fam_rzg3s __initconst __maybe_unused = {
76 .name = "RZ/G3S",
77};
78
75static const struct renesas_family fam_rzv2l __initconst __maybe_unused = {
76 .name = "RZ/V2L",
77};
78
79static const struct renesas_family fam_rzv2m __initconst __maybe_unused = {
80 .name = "RZ/V2M",
81};
82

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

165 .id = 0x841c447,
166};
167
168static const struct renesas_soc soc_rz_g2ul __initconst __maybe_unused = {
169 .family = &fam_rzg2ul,
170 .id = 0x8450447,
171};
172
79static const struct renesas_family fam_rzv2l __initconst __maybe_unused = {
80 .name = "RZ/V2L",
81};
82
83static const struct renesas_family fam_rzv2m __initconst __maybe_unused = {
84 .name = "RZ/V2M",
85};
86

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

169 .id = 0x841c447,
170};
171
172static const struct renesas_soc soc_rz_g2ul __initconst __maybe_unused = {
173 .family = &fam_rzg2ul,
174 .id = 0x8450447,
175};
176
177static const struct renesas_soc soc_rz_g3s __initconst __maybe_unused = {
178 .family = &fam_rzg3s,
179 .id = 0x85e0447,
180};
181
173static const struct renesas_soc soc_rz_v2l __initconst __maybe_unused = {
174 .family = &fam_rzv2l,
175 .id = 0x8447447,
176};
177
178static const struct renesas_soc soc_rz_v2m __initconst __maybe_unused = {
179 .family = &fam_rzv2m,
180};

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

381#endif
382#endif
383#ifdef CONFIG_ARCH_R9A07G044
384 { .compatible = "renesas,r9a07g044", .data = &soc_rz_g2l },
385#endif
386#ifdef CONFIG_ARCH_R9A07G054
387 { .compatible = "renesas,r9a07g054", .data = &soc_rz_v2l },
388#endif
182static const struct renesas_soc soc_rz_v2l __initconst __maybe_unused = {
183 .family = &fam_rzv2l,
184 .id = 0x8447447,
185};
186
187static const struct renesas_soc soc_rz_v2m __initconst __maybe_unused = {
188 .family = &fam_rzv2m,
189};

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

390#endif
391#endif
392#ifdef CONFIG_ARCH_R9A07G044
393 { .compatible = "renesas,r9a07g044", .data = &soc_rz_g2l },
394#endif
395#ifdef CONFIG_ARCH_R9A07G054
396 { .compatible = "renesas,r9a07g054", .data = &soc_rz_v2l },
397#endif
398#ifdef CONFIG_ARCH_R9A08G045
399 { .compatible = "renesas,r9a08g045", .data = &soc_rz_g3s },
400#endif
389#ifdef CONFIG_ARCH_R9A09G011
390 { .compatible = "renesas,r9a09g011", .data = &soc_rz_v2m },
391#endif
392#ifdef CONFIG_ARCH_SH73A0
393 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 },
394#endif
395 { /* sentinel */ }
396};

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

424 .mask = 0xff00,
425};
426
427static const struct of_device_id renesas_ids[] __initconst = {
428 { .compatible = "renesas,bsid", .data = &id_bsid },
429 { .compatible = "renesas,r9a07g043-sysc", .data = &id_rzg2l },
430 { .compatible = "renesas,r9a07g044-sysc", .data = &id_rzg2l },
431 { .compatible = "renesas,r9a07g054-sysc", .data = &id_rzg2l },
401#ifdef CONFIG_ARCH_R9A09G011
402 { .compatible = "renesas,r9a09g011", .data = &soc_rz_v2m },
403#endif
404#ifdef CONFIG_ARCH_SH73A0
405 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 },
406#endif
407 { /* sentinel */ }
408};

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

436 .mask = 0xff00,
437};
438
439static const struct of_device_id renesas_ids[] __initconst = {
440 { .compatible = "renesas,bsid", .data = &id_bsid },
441 { .compatible = "renesas,r9a07g043-sysc", .data = &id_rzg2l },
442 { .compatible = "renesas,r9a07g044-sysc", .data = &id_rzg2l },
443 { .compatible = "renesas,r9a07g054-sysc", .data = &id_rzg2l },
444 { .compatible = "renesas,r9a08g045-sysc", .data = &id_rzg2l },
432 { .compatible = "renesas,r9a09g011-sys", .data = &id_rzv2m },
433 { .compatible = "renesas,prr", .data = &id_prr },
434 { /* sentinel */ }
435};
436
437static int __init renesas_soc_init(void)
438{
439 struct soc_device_attribute *soc_dev_attr;

--- 100 unchanged lines hidden ---
445 { .compatible = "renesas,r9a09g011-sys", .data = &id_rzv2m },
446 { .compatible = "renesas,prr", .data = &id_prr },
447 { /* sentinel */ }
448};
449
450static int __init renesas_soc_init(void)
451{
452 struct soc_device_attribute *soc_dev_attr;

--- 100 unchanged lines hidden ---