diff options
Diffstat (limited to 'drivers/soc/renesas/renesas-soc.c')
-rw-r--r-- | drivers/soc/renesas/renesas-soc.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 330960312296..ca26f13d399c 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c | |||
@@ -80,11 +80,21 @@ static const struct renesas_soc soc_rmobile_a1 __initconst __maybe_unused = { | |||
80 | .id = 0x40, | 80 | .id = 0x40, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | static const struct renesas_soc soc_rz_g1h __initconst __maybe_unused = { | ||
84 | .family = &fam_rzg, | ||
85 | .id = 0x45, | ||
86 | }; | ||
87 | |||
83 | static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = { | 88 | static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = { |
84 | .family = &fam_rzg, | 89 | .family = &fam_rzg, |
85 | .id = 0x47, | 90 | .id = 0x47, |
86 | }; | 91 | }; |
87 | 92 | ||
93 | static const struct renesas_soc soc_rz_g1n __initconst __maybe_unused = { | ||
94 | .family = &fam_rzg, | ||
95 | .id = 0x4b, | ||
96 | }; | ||
97 | |||
88 | static const struct renesas_soc soc_rz_g1e __initconst __maybe_unused = { | 98 | static const struct renesas_soc soc_rz_g1e __initconst __maybe_unused = { |
89 | .family = &fam_rzg, | 99 | .family = &fam_rzg, |
90 | .id = 0x4c, | 100 | .id = 0x4c, |
@@ -150,9 +160,15 @@ static const struct of_device_id renesas_socs[] __initconst = { | |||
150 | #ifdef CONFIG_ARCH_R8A7740 | 160 | #ifdef CONFIG_ARCH_R8A7740 |
151 | { .compatible = "renesas,r8a7740", .data = &soc_rmobile_a1 }, | 161 | { .compatible = "renesas,r8a7740", .data = &soc_rmobile_a1 }, |
152 | #endif | 162 | #endif |
163 | #ifdef CONFIG_ARCH_R8A7742 | ||
164 | { .compatible = "renesas,r8a7742", .data = &soc_rz_g1h }, | ||
165 | #endif | ||
153 | #ifdef CONFIG_ARCH_R8A7743 | 166 | #ifdef CONFIG_ARCH_R8A7743 |
154 | { .compatible = "renesas,r8a7743", .data = &soc_rz_g1m }, | 167 | { .compatible = "renesas,r8a7743", .data = &soc_rz_g1m }, |
155 | #endif | 168 | #endif |
169 | #ifdef CONFIG_ARCH_R8A7744 | ||
170 | { .compatible = "renesas,r8a7744", .data = &soc_rz_g1n }, | ||
171 | #endif | ||
156 | #ifdef CONFIG_ARCH_R8A7745 | 172 | #ifdef CONFIG_ARCH_R8A7745 |
157 | { .compatible = "renesas,r8a7745", .data = &soc_rz_g1e }, | 173 | { .compatible = "renesas,r8a7745", .data = &soc_rz_g1e }, |
158 | #endif | 174 | #endif |
@@ -254,4 +270,4 @@ static int __init renesas_soc_init(void) | |||
254 | 270 | ||
255 | return 0; | 271 | return 0; |
256 | } | 272 | } |
257 | core_initcall(renesas_soc_init); | 273 | early_initcall(renesas_soc_init); |