diff options
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-lager-reference.c | 2 |
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 |
236 | dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \ | 236 | dtb-$(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 |
239 | dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \ | 240 | dtb-$(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 | |||
28 | config ARCH_R7S72100 | 28 | config ARCH_R7S72100 |
29 | bool "RZ/A1H (R7S72100)" | 29 | bool "RZ/A1H (R7S72100)" |
30 | 30 | ||
31 | config ARCH_R8A7790 | ||
32 | bool "R-Car H2 (R8A77900)" | ||
33 | select RENESAS_IRQC | ||
34 | |||
31 | config ARCH_R8A7791 | 35 | config 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 | ||
54 | config MACH_LAGER | ||
55 | bool "Lager board" | ||
56 | depends on ARCH_R8A7790 | ||
57 | |||
50 | comment "Renesas ARM SoCs System Configuration" | 58 | comment "Renesas ARM SoCs System Configuration" |
51 | endif | 59 | endif |
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 | |||
59 | obj-$(CONFIG_MACH_GENMAI) += board-genmai-reference.o | 59 | obj-$(CONFIG_MACH_GENMAI) += board-genmai-reference.o |
60 | obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o | 60 | obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o |
61 | obj-$(CONFIG_MACH_KZM9D) += board-kzm9d-reference.o | 61 | obj-$(CONFIG_MACH_KZM9D) += board-kzm9d-reference.o |
62 | obj-$(CONFIG_MACH_LAGER) += board-lager-reference.o | ||
62 | else | 63 | else |
63 | obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o | 64 | obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o |
64 | obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o | 65 | obj-$(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 | ||
28 | static void __init lager_add_standard_devices(void) | 28 | static 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 | } |