aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/mach-shmobile/Kconfig8
-rw-r--r--arch/arm/mach-shmobile/Makefile1
-rw-r--r--arch/arm/mach-shmobile/board-lager-reference.c2
4 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 5ef42fca1db0..9e22bd4caec6 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -235,6 +235,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += emev2-kzm9d.dtb \
235 sh7372-mackerel.dtb 235 sh7372-mackerel.dtb
236dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \ 236dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
237 r7s72100-genmai-reference.dtb \ 237 r7s72100-genmai-reference.dtb \
238 r8a7790-lager-reference.dtb \
238 r8a7791-koelsch-reference.dtb 239 r8a7791-koelsch-reference.dtb
239dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \ 240dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
240 socfpga_cyclone5_socdk.dtb \ 241 socfpga_cyclone5_socdk.dtb \
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index cd89d6348e0e..e7033a858429 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -28,6 +28,10 @@ config ARCH_EMEV2
28config ARCH_R7S72100 28config ARCH_R7S72100
29 bool "RZ/A1H (R7S72100)" 29 bool "RZ/A1H (R7S72100)"
30 30
31config ARCH_R8A7790
32 bool "R-Car H2 (R8A77900)"
33 select RENESAS_IRQC
34
31config ARCH_R8A7791 35config ARCH_R8A7791
32 bool "R-Car M2 (R8A77910)" 36 bool "R-Car M2 (R8A77910)"
33 select RENESAS_IRQC 37 select RENESAS_IRQC
@@ -47,6 +51,10 @@ config MACH_KZM9D
47 depends on ARCH_EMEV2 51 depends on ARCH_EMEV2
48 select REGULATOR_FIXED_VOLTAGE if REGULATOR 52 select REGULATOR_FIXED_VOLTAGE if REGULATOR
49 53
54config MACH_LAGER
55 bool "Lager board"
56 depends on ARCH_R8A7790
57
50comment "Renesas ARM SoCs System Configuration" 58comment "Renesas ARM SoCs System Configuration"
51endif 59endif
52 60
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile
index 1c131046dec6..9daa9c16e681 100644
--- a/arch/arm/mach-shmobile/Makefile
+++ b/arch/arm/mach-shmobile/Makefile
@@ -59,6 +59,7 @@ ifdef CONFIG_ARCH_SHMOBILE_MULTI
59obj-$(CONFIG_MACH_GENMAI) += board-genmai-reference.o 59obj-$(CONFIG_MACH_GENMAI) += board-genmai-reference.o
60obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o 60obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o
61obj-$(CONFIG_MACH_KZM9D) += board-kzm9d-reference.o 61obj-$(CONFIG_MACH_KZM9D) += board-kzm9d-reference.o
62obj-$(CONFIG_MACH_LAGER) += board-lager-reference.o
62else 63else
63obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o 64obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o
64obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o 65obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o
diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c
index 51a3bcc704e5..fc43f7ce6577 100644
--- a/arch/arm/mach-shmobile/board-lager-reference.c
+++ b/arch/arm/mach-shmobile/board-lager-reference.c
@@ -27,7 +27,9 @@
27 27
28static void __init lager_add_standard_devices(void) 28static void __init lager_add_standard_devices(void)
29{ 29{
30#ifndef CONFIG_COMMON_CLK
30 r8a7790_clock_init(); 31 r8a7790_clock_init();
32#endif
31 r8a7790_add_dt_devices(); 33 r8a7790_add_dt_devices();
32 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 34 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
33} 35}