Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'renesas-soc-for-v4.18' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc

Renesas ARM Based SoC Updates for v4.18

* SoC
- Change platform dependency to ARCH_RENESAS
This will allow to drop ARCH_SHMOBILE on ARM and ARM64 in the near
future.
- Add the to Kconfig RZ/N1D (r9a06g032) SoC
- Identify R-Car E3 (r8a77990) SoC
- Identify and add minimal support for RZ/G1C (r8a77470) SoC

* R-Car SYSC
- Add support for R-Car E3 (r8a77990) SoC
- Remove unused inclusion of <linux/sys_soc.h>,
- Make r8a77995_areas[] const.

* R-Car Reset
- Add support for R-Car E3 (r8a77990) SoC

* Debug-LL
- Add support for RZ/G1C (r8a77470) SoC

* tag 'renesas-soc-for-v4.18' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
soc: renesas: r8a77990-sysc: Add workaround for 3DG-{A,B}
soc: renesas: rcar-sysc: Add support for R-Car E3 power areas
arm: shmobile: Add the RZ/N1D (R9A06G032) to the shmobile Kconfig
arm: shmobile: Change platform dependency to ARCH_RENESAS
soc: renesas: r8a77995-sysc: Cleanups
soc: renesas: rcar-rst: Add support for R-Car E3
soc: renesas: Add r8a77990 SYSC PM Domain Binding Definitions
soc: renesas: identify R-Car E3
ARM: debug-ll: Add support for r8a77470
ARM: shmobile: Add the RZ/N1 arch to the shmobile Kconfig
ARM: shmobile: r8a77470: basic SoC support
soc: renesas: rcar-sysc: Add r8a77470 support
soc: renesas: rcar-rst: Add support for RZ/G1C
soc: renesas: Identify RZ/G1C

Signed-off-by: Olof Johansson <olof@lixom.net>

+220 -7
+2
Documentation/devicetree/bindings/arm/shmobile.txt
··· 21 21 compatible = "renesas,r8a7744" 22 22 - RZ/G1E (R8A77450) 23 23 compatible = "renesas,r8a7745" 24 + - RZ/G1C (R8A77470) 25 + compatible = "renesas,r8a77470" 24 26 - R-Car M1A (R8A77781) 25 27 compatible = "renesas,r8a7778" 26 28 - R-Car H1 (R8A77790)
+2
Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt
··· 9 9 - compatible: Must contain exactly one of the following: 10 10 - "renesas,r8a7743-sysc" (RZ/G1M) 11 11 - "renesas,r8a7745-sysc" (RZ/G1E) 12 + - "renesas,r8a77470-sysc" (RZ/G1C) 12 13 - "renesas,r8a7779-sysc" (R-Car H1) 13 14 - "renesas,r8a7790-sysc" (R-Car H2) 14 15 - "renesas,r8a7791-sysc" (R-Car M2-W) ··· 21 20 - "renesas,r8a77965-sysc" (R-Car M3-N) 22 21 - "renesas,r8a77970-sysc" (R-Car V3M) 23 22 - "renesas,r8a77980-sysc" (R-Car V3H) 23 + - "renesas,r8a77990-sysc" (R-Car E3) 24 24 - "renesas,r8a77995-sysc" (R-Car D3) 25 25 - reg: Address start and address range for the device. 26 26 - #power-domain-cells: Must be 1.
+2
Documentation/devicetree/bindings/reset/renesas,rst.txt
··· 17 17 Examples with soctypes are: 18 18 - "renesas,r8a7743-rst" (RZ/G1M) 19 19 - "renesas,r8a7745-rst" (RZ/G1E) 20 + - "renesas,r8a77470-rst" (RZ/G1C) 20 21 - "renesas,r8a7778-reset-wdt" (R-Car M1A) 21 22 - "renesas,r8a7779-reset-wdt" (R-Car H1) 22 23 - "renesas,r8a7790-rst" (R-Car H2) ··· 30 29 - "renesas,r8a77965-rst" (R-Car M3-N) 31 30 - "renesas,r8a77970-rst" (R-Car V3M) 32 31 - "renesas,r8a77980-rst" (R-Car V3H) 32 + - "renesas,r8a77990-rst" (R-Car E3) 33 33 - "renesas,r8a77995-rst" (R-Car D3) 34 34 - reg: Address start and address range for the device. 35 35
+1 -1
arch/arm/Kconfig
··· 1467 1467 config ARCH_NR_GPIO 1468 1468 int 1469 1469 default 2048 if ARCH_SOCFPGA 1470 - default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \ 1470 + default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \ 1471 1471 ARCH_ZYNQ 1472 1472 default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \ 1473 1473 SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
+11 -2
arch/arm/Kconfig.debug
··· 942 942 via SCIF0 on Renesas RZ/G1M (R8A7743), R-Car H2 (R8A7790), 943 943 M2-W (R8A7791), V2H (R8A7792), or M2-N (R8A7793). 944 944 945 + config DEBUG_RCAR_GEN2_SCIF1 946 + bool "Kernel low-level debugging messages via SCIF1 on R8A77470" 947 + depends on ARCH_R8A77470 948 + help 949 + Say Y here if you want kernel low-level debugging support 950 + via SCIF1 on Renesas RZ/G1C (R8A77470). 951 + 945 952 config DEBUG_RCAR_GEN2_SCIF2 946 953 bool "Kernel low-level debugging messages via SCIF2 on R8A7794" 947 954 depends on ARCH_R8A7794 ··· 1502 1495 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0 1503 1496 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2 1504 1497 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0 1498 + default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF1 1505 1499 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2 1506 1500 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF4 1507 1501 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0 ··· 1625 1617 default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4 1626 1618 default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2 1627 1619 default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0 1620 + default 0xe6e68000 if DEBUG_RCAR_GEN2_SCIF1 1628 1621 default 0xe6ee0000 if DEBUG_RCAR_GEN2_SCIF4 1629 1622 default 0xe8008000 if DEBUG_R7S72100_SCIF2 1630 1623 default 0xf0000be0 if ARCH_EBSA110 ··· 1660 1651 DEBUG_NETX_UART || \ 1661 1652 DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \ 1662 1653 DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \ 1663 - DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \ 1664 - DEBUG_RCAR_GEN2_SCIF4 || \ 1654 + DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF1 || \ 1655 + DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \ 1665 1656 DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \ 1666 1657 DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \ 1667 1658 DEBUG_S3C64XX_UART || \
+1 -1
arch/arm/Makefile
··· 212 212 machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx 213 213 machine-$(CONFIG_ARCH_S5PV210) += s5pv210 214 214 machine-$(CONFIG_ARCH_SA1100) += sa1100 215 - machine-$(CONFIG_ARCH_SHMOBILE) += shmobile 215 + machine-$(CONFIG_ARCH_RENESAS) += shmobile 216 216 machine-$(CONFIG_ARCH_SIRF) += prima2 217 217 machine-$(CONFIG_ARCH_SOCFPGA) += socfpga 218 218 machine-$(CONFIG_ARCH_STI) += sti
+13
arch/arm/mach-shmobile/Kconfig
··· 75 75 bool "RZ/G1E (R8A77450)" 76 76 select ARCH_RCAR_GEN2 77 77 78 + config ARCH_R8A77470 79 + bool "RZ/G1C (R8A77470)" 80 + select ARCH_RCAR_GEN2 81 + 78 82 config ARCH_R8A7778 79 83 bool "R-Car M1A (R8A77781)" 80 84 select ARCH_RCAR_GEN1 ··· 113 109 config ARCH_R8A7794 114 110 bool "R-Car E2 (R8A77940)" 115 111 select ARCH_RCAR_GEN2 112 + 113 + config ARCH_R9A06G032 114 + bool "RZ/N1D (R9A06G032)" 115 + select ARCH_RZN1 116 + 117 + config ARCH_RZN1 118 + bool "RZ/N1 (R9A06G0xx) Family" 119 + select ARM_AMBA 120 + select CPU_V7 116 121 117 122 config ARCH_SH73A0 118 123 bool "SH-Mobile AG5 (R8A73A00)"
+2
arch/arm/mach-shmobile/setup-rcar-gen2.c
··· 74 74 secure_cntvoff_init(); 75 75 76 76 if (of_machine_is_compatible("renesas,r8a7745") || 77 + of_machine_is_compatible("renesas,r8a77470") || 77 78 of_machine_is_compatible("renesas,r8a7792") || 78 79 of_machine_is_compatible("renesas,r8a7794")) { 79 80 freq = 260000000 / 8; /* ZS / 8 */ ··· 207 206 static const char * const rz_g1_boards_compat_dt[] __initconst = { 208 207 "renesas,r8a7743", 209 208 "renesas,r8a7745", 209 + "renesas,r8a77470", 210 210 NULL, 211 211 }; 212 212
+12 -1
drivers/soc/renesas/Kconfig
··· 4 4 select SOC_BUS 5 5 select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \ 6 6 ARCH_R8A7795 || ARCH_R8A7796 || ARCH_R8A77965 || \ 7 - ARCH_R8A77970 || ARCH_R8A77980 || ARCH_R8A77995 7 + ARCH_R8A77970 || ARCH_R8A77980 || ARCH_R8A77990 || \ 8 + ARCH_R8A77995 8 9 select SYSC_R8A7743 if ARCH_R8A7743 9 10 select SYSC_R8A7745 if ARCH_R8A7745 11 + select SYSC_R8A77470 if ARCH_R8A77470 10 12 select SYSC_R8A7779 if ARCH_R8A7779 11 13 select SYSC_R8A7790 if ARCH_R8A7790 12 14 select SYSC_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793 ··· 19 17 select SYSC_R8A77965 if ARCH_R8A77965 20 18 select SYSC_R8A77970 if ARCH_R8A77970 21 19 select SYSC_R8A77980 if ARCH_R8A77980 20 + select SYSC_R8A77990 if ARCH_R8A77990 22 21 select SYSC_R8A77995 if ARCH_R8A77995 23 22 24 23 if SOC_RENESAS ··· 31 28 32 29 config SYSC_R8A7745 33 30 bool "RZ/G1E System Controller support" if COMPILE_TEST 31 + select SYSC_RCAR 32 + 33 + config SYSC_R8A77470 34 + bool "RZ/G1C System Controller support" if COMPILE_TEST 34 35 select SYSC_RCAR 35 36 36 37 config SYSC_R8A7779 ··· 75 68 76 69 config SYSC_R8A77980 77 70 bool "R-Car V3H System Controller support" if COMPILE_TEST 71 + select SYSC_RCAR 72 + 73 + config SYSC_R8A77990 74 + bool "R-Car E3 System Controller support" if COMPILE_TEST 78 75 select SYSC_RCAR 79 76 80 77 config SYSC_R8A77995
+2
drivers/soc/renesas/Makefile
··· 5 5 # SoC 6 6 obj-$(CONFIG_SYSC_R8A7743) += r8a7743-sysc.o 7 7 obj-$(CONFIG_SYSC_R8A7745) += r8a7745-sysc.o 8 + obj-$(CONFIG_SYSC_R8A77470) += r8a77470-sysc.o 8 9 obj-$(CONFIG_SYSC_R8A7779) += r8a7779-sysc.o 9 10 obj-$(CONFIG_SYSC_R8A7790) += r8a7790-sysc.o 10 11 obj-$(CONFIG_SYSC_R8A7791) += r8a7791-sysc.o ··· 16 15 obj-$(CONFIG_SYSC_R8A77965) += r8a77965-sysc.o 17 16 obj-$(CONFIG_SYSC_R8A77970) += r8a77970-sysc.o 18 17 obj-$(CONFIG_SYSC_R8A77980) += r8a77980-sysc.o 18 + obj-$(CONFIG_SYSC_R8A77990) += r8a77990-sysc.o 19 19 obj-$(CONFIG_SYSC_R8A77995) += r8a77995-sysc.o 20 20 21 21 # Family
+29
drivers/soc/renesas/r8a77470-sysc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Renesas RZ/G1C System Controller 4 + * 5 + * Copyright (C) 2018 Renesas Electronics Corp. 6 + */ 7 + 8 + #include <linux/bug.h> 9 + #include <linux/kernel.h> 10 + 11 + #include <dt-bindings/power/r8a77470-sysc.h> 12 + 13 + #include "rcar-sysc.h" 14 + 15 + static const struct rcar_sysc_area r8a77470_areas[] __initconst = { 16 + { "always-on", 0, 0, R8A77470_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, 17 + { "ca7-scu", 0x100, 0, R8A77470_PD_CA7_SCU, R8A77470_PD_ALWAYS_ON, 18 + PD_SCU }, 19 + { "ca7-cpu0", 0x1c0, 0, R8A77470_PD_CA7_CPU0, R8A77470_PD_CA7_SCU, 20 + PD_CPU_NOCR }, 21 + { "ca7-cpu1", 0x1c0, 1, R8A77470_PD_CA7_CPU1, R8A77470_PD_CA7_SCU, 22 + PD_CPU_NOCR }, 23 + { "sgx", 0xc0, 0, R8A77470_PD_SGX, R8A77470_PD_ALWAYS_ON }, 24 + }; 25 + 26 + const struct rcar_sysc_info r8a77470_sysc_info __initconst = { 27 + .areas = r8a77470_areas, 28 + .num_areas = ARRAY_SIZE(r8a77470_areas), 29 + };
+68
drivers/soc/renesas/r8a77990-sysc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Renesas R-Car E3 System Controller 4 + * 5 + * Copyright (C) 2018 Renesas Electronics Corp. 6 + */ 7 + 8 + #include <linux/bug.h> 9 + #include <linux/kernel.h> 10 + #include <linux/sys_soc.h> 11 + 12 + #include <dt-bindings/power/r8a77990-sysc.h> 13 + 14 + #include "rcar-sysc.h" 15 + 16 + static struct rcar_sysc_area r8a77990_areas[] __initdata = { 17 + { "always-on", 0, 0, R8A77990_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, 18 + { "ca53-scu", 0x140, 0, R8A77990_PD_CA53_SCU, R8A77990_PD_ALWAYS_ON, 19 + PD_SCU }, 20 + { "ca53-cpu0", 0x200, 0, R8A77990_PD_CA53_CPU0, R8A77990_PD_CA53_SCU, 21 + PD_CPU_NOCR }, 22 + { "ca53-cpu1", 0x200, 1, R8A77990_PD_CA53_CPU1, R8A77990_PD_CA53_SCU, 23 + PD_CPU_NOCR }, 24 + { "cr7", 0x240, 0, R8A77990_PD_CR7, R8A77990_PD_ALWAYS_ON }, 25 + { "a3vc", 0x380, 0, R8A77990_PD_A3VC, R8A77990_PD_ALWAYS_ON }, 26 + { "a2vc1", 0x3c0, 1, R8A77990_PD_A2VC1, R8A77990_PD_A3VC }, 27 + { "3dg-a", 0x100, 0, R8A77990_PD_3DG_A, R8A77990_PD_ALWAYS_ON }, 28 + { "3dg-b", 0x100, 1, R8A77990_PD_3DG_B, R8A77990_PD_3DG_A }, 29 + }; 30 + 31 + static void __init rcar_sysc_fix_parent(struct rcar_sysc_area *areas, 32 + unsigned int num_areas, u8 id, 33 + int new_parent) 34 + { 35 + unsigned int i; 36 + 37 + for (i = 0; i < num_areas; i++) 38 + if (areas[i].isr_bit == id) { 39 + areas[i].parent = new_parent; 40 + return; 41 + } 42 + } 43 + 44 + /* Fixups for R-Car E3 ES1.0 revision */ 45 + static const struct soc_device_attribute r8a77990[] __initconst = { 46 + { .soc_id = "r8a77990", .revision = "ES1.0" }, 47 + { /* sentinel */ } 48 + }; 49 + 50 + static int __init r8a77990_sysc_init(void) 51 + { 52 + if (soc_device_match(r8a77990)) { 53 + rcar_sysc_fix_parent(r8a77990_areas, 54 + ARRAY_SIZE(r8a77990_areas), 55 + R8A77990_PD_3DG_A, R8A77990_PD_3DG_B); 56 + rcar_sysc_fix_parent(r8a77990_areas, 57 + ARRAY_SIZE(r8a77990_areas), 58 + R8A77990_PD_3DG_B, R8A77990_PD_ALWAYS_ON); 59 + } 60 + 61 + return 0; 62 + } 63 + 64 + const struct rcar_sysc_info r8a77990_sysc_info __initconst = { 65 + .init = r8a77990_sysc_init, 66 + .areas = r8a77990_areas, 67 + .num_areas = ARRAY_SIZE(r8a77990_areas), 68 + };
+1 -2
drivers/soc/renesas/r8a77995-sysc.c
··· 10 10 11 11 #include <linux/bug.h> 12 12 #include <linux/kernel.h> 13 - #include <linux/sys_soc.h> 14 13 15 14 #include <dt-bindings/power/r8a77995-sysc.h> 16 15 17 16 #include "rcar-sysc.h" 18 17 19 - static struct rcar_sysc_area r8a77995_areas[] __initdata = { 18 + static const struct rcar_sysc_area r8a77995_areas[] __initconst = { 20 19 { "always-on", 0, 0, R8A77995_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, 21 20 { "ca53-scu", 0x140, 0, R8A77995_PD_CA53_SCU, R8A77995_PD_ALWAYS_ON, 22 21 PD_SCU },
+2
drivers/soc/renesas/rcar-rst.c
··· 44 44 /* RZ/G is handled like R-Car Gen2 */ 45 45 { .compatible = "renesas,r8a7743-rst", .data = &rcar_rst_gen2 }, 46 46 { .compatible = "renesas,r8a7745-rst", .data = &rcar_rst_gen2 }, 47 + { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 }, 47 48 /* R-Car Gen1 */ 48 49 { .compatible = "renesas,r8a7778-reset-wdt", .data = &rcar_rst_gen1 }, 49 50 { .compatible = "renesas,r8a7779-reset-wdt", .data = &rcar_rst_gen1 }, ··· 60 59 { .compatible = "renesas,r8a77965-rst", .data = &rcar_rst_gen3 }, 61 60 { .compatible = "renesas,r8a77970-rst", .data = &rcar_rst_gen3 }, 62 61 { .compatible = "renesas,r8a77980-rst", .data = &rcar_rst_gen3 }, 62 + { .compatible = "renesas,r8a77990-rst", .data = &rcar_rst_gen3 }, 63 63 { .compatible = "renesas,r8a77995-rst", .data = &rcar_rst_gen3 }, 64 64 { /* sentinel */ } 65 65 };
+6
drivers/soc/renesas/rcar-sysc.c
··· 261 261 #ifdef CONFIG_SYSC_R8A7745 262 262 { .compatible = "renesas,r8a7745-sysc", .data = &r8a7745_sysc_info }, 263 263 #endif 264 + #ifdef CONFIG_SYSC_R8A77470 265 + { .compatible = "renesas,r8a77470-sysc", .data = &r8a77470_sysc_info }, 266 + #endif 264 267 #ifdef CONFIG_SYSC_R8A7779 265 268 { .compatible = "renesas,r8a7779-sysc", .data = &r8a7779_sysc_info }, 266 269 #endif ··· 295 292 #endif 296 293 #ifdef CONFIG_SYSC_R8A77980 297 294 { .compatible = "renesas,r8a77980-sysc", .data = &r8a77980_sysc_info }, 295 + #endif 296 + #ifdef CONFIG_SYSC_R8A77990 297 + { .compatible = "renesas,r8a77990-sysc", .data = &r8a77990_sysc_info }, 298 298 #endif 299 299 #ifdef CONFIG_SYSC_R8A77995 300 300 { .compatible = "renesas,r8a77995-sysc", .data = &r8a77995_sysc_info },
+2
drivers/soc/renesas/rcar-sysc.h
··· 51 51 52 52 extern const struct rcar_sysc_info r8a7743_sysc_info; 53 53 extern const struct rcar_sysc_info r8a7745_sysc_info; 54 + extern const struct rcar_sysc_info r8a77470_sysc_info; 54 55 extern const struct rcar_sysc_info r8a7779_sysc_info; 55 56 extern const struct rcar_sysc_info r8a7790_sysc_info; 56 57 extern const struct rcar_sysc_info r8a7791_sysc_info; ··· 62 61 extern const struct rcar_sysc_info r8a77965_sysc_info; 63 62 extern const struct rcar_sysc_info r8a77970_sysc_info; 64 63 extern const struct rcar_sysc_info r8a77980_sysc_info; 64 + extern const struct rcar_sysc_info r8a77990_sysc_info; 65 65 extern const struct rcar_sysc_info r8a77995_sysc_info; 66 66 67 67
+16
drivers/soc/renesas/renesas-soc.c
··· 100 100 .id = 0x4c, 101 101 }; 102 102 103 + static const struct renesas_soc soc_rz_g1c __initconst __maybe_unused = { 104 + .family = &fam_rzg, 105 + .id = 0x53, 106 + }; 107 + 103 108 static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = { 104 109 .family = &fam_rcar_gen1, 105 110 }; ··· 164 159 .id = 0x56, 165 160 }; 166 161 162 + static const struct renesas_soc soc_rcar_e3 __initconst __maybe_unused = { 163 + .family = &fam_rcar_gen3, 164 + .id = 0x57, 165 + }; 166 + 167 167 static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = { 168 168 .family = &fam_rcar_gen3, 169 169 .id = 0x58, ··· 201 191 #endif 202 192 #ifdef CONFIG_ARCH_R8A7745 203 193 { .compatible = "renesas,r8a7745", .data = &soc_rz_g1e }, 194 + #endif 195 + #ifdef CONFIG_ARCH_R8A77470 196 + { .compatible = "renesas,r8a77470", .data = &soc_rz_g1c }, 204 197 #endif 205 198 #ifdef CONFIG_ARCH_R8A7778 206 199 { .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a }, ··· 240 227 #endif 241 228 #ifdef CONFIG_ARCH_R8A77980 242 229 { .compatible = "renesas,r8a77980", .data = &soc_rcar_v3h }, 230 + #endif 231 + #ifdef CONFIG_ARCH_R8A77990 232 + { .compatible = "renesas,r8a77990", .data = &soc_rcar_e3 }, 243 233 #endif 244 234 #ifdef CONFIG_ARCH_R8A77995 245 235 { .compatible = "renesas,r8a77995", .data = &soc_rcar_d3 },
+22
include/dt-bindings/power/r8a77470-sysc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 2 + * 3 + * Copyright (C) 2018 Renesas Electronics Corp. 4 + */ 5 + #ifndef __DT_BINDINGS_POWER_R8A77470_SYSC_H__ 6 + #define __DT_BINDINGS_POWER_R8A77470_SYSC_H__ 7 + 8 + /* 9 + * These power domain indices match the numbers of the interrupt bits 10 + * representing the power areas in the various Interrupt Registers 11 + * (e.g. SYSCISR, Interrupt Status Register) 12 + */ 13 + 14 + #define R8A77470_PD_CA7_CPU0 5 15 + #define R8A77470_PD_CA7_CPU1 6 16 + #define R8A77470_PD_SGX 20 17 + #define R8A77470_PD_CA7_SCU 21 18 + 19 + /* Always-on power area */ 20 + #define R8A77470_PD_ALWAYS_ON 32 21 + 22 + #endif /* __DT_BINDINGS_POWER_R8A77470_SYSC_H__ */
+26
include/dt-bindings/power/r8a77990-sysc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* 3 + * Copyright (C) 2018 Renesas Electronics Corp. 4 + */ 5 + #ifndef __DT_BINDINGS_POWER_R8A77990_SYSC_H__ 6 + #define __DT_BINDINGS_POWER_R8A77990_SYSC_H__ 7 + 8 + /* 9 + * These power domain indices match the numbers of the interrupt bits 10 + * representing the power areas in the various Interrupt Registers 11 + * (e.g. SYSCISR, Interrupt Status Register) 12 + */ 13 + 14 + #define R8A77990_PD_CA53_CPU0 5 15 + #define R8A77990_PD_CA53_CPU1 6 16 + #define R8A77990_PD_CR7 13 17 + #define R8A77990_PD_A3VC 14 18 + #define R8A77990_PD_3DG_A 17 19 + #define R8A77990_PD_3DG_B 18 20 + #define R8A77990_PD_CA53_SCU 21 21 + #define R8A77990_PD_A2VC1 26 22 + 23 + /* Always-on power area */ 24 + #define R8A77990_PD_ALWAYS_ON 32 25 + 26 + #endif /* __DT_BINDINGS_POWER_R8A77990_SYSC_H__ */