| From bf263b778b4c2a544c6fdfc5ea3d68b94b2a3af6 Mon Sep 17 00:00:00 2001 |
| From: Geert Uytterhoeven <geert+renesas@glider.be> |
| Date: Fri, 10 Mar 2017 14:48:29 +0100 |
| Subject: [PATCH 106/286] soc: renesas: Identify RZ/G1H |
| |
| Add support for identifying the RZ/G1H (r8a7742) SoC. |
| |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 8848e1b14231a40ed66229fb3ee98519b32f2ae7) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/soc/renesas/renesas-soc.c | 8 ++++++++ |
| 1 file changed, 8 insertions(+) |
| |
| --- a/drivers/soc/renesas/renesas-soc.c |
| +++ b/drivers/soc/renesas/renesas-soc.c |
| @@ -80,6 +80,11 @@ static const struct renesas_soc soc_rmob |
| .id = 0x40, |
| }; |
| |
| +static const struct renesas_soc soc_rz_g1h __initconst __maybe_unused = { |
| + .family = &fam_rzg, |
| + .id = 0x45, |
| +}; |
| + |
| static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = { |
| .family = &fam_rzg, |
| .id = 0x47, |
| @@ -150,6 +155,9 @@ static const struct of_device_id renesas |
| #ifdef CONFIG_ARCH_R8A7740 |
| { .compatible = "renesas,r8a7740", .data = &soc_rmobile_a1 }, |
| #endif |
| +#ifdef CONFIG_ARCH_R8A7742 |
| + { .compatible = "renesas,r8a7742", .data = &soc_rz_g1h }, |
| +#endif |
| #ifdef CONFIG_ARCH_R8A7743 |
| { .compatible = "renesas,r8a7743", .data = &soc_rz_g1m }, |
| #endif |