aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/r8a7740-armadillo800eva.dts22
-rw-r--r--arch/arm/mach-shmobile/Kconfig1
-rw-r--r--arch/arm/mach-shmobile/board-armadillo800eva.c8
3 files changed, 30 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
new file mode 100644
index 000000000000..a7505a95a3b7
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -0,0 +1,22 @@
1/*
2 * Device Tree Source for the armadillo 800 eva board
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11/dts-v1/;
12/include/ "skeleton.dtsi"
13
14/ {
15 model = "armadillo 800 eva";
16 compatible = "renesas,armadillo800eva";
17
18 memory {
19 device_type = "memory";
20 reg = <0x40000000 0x20000000>;
21 };
22};
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index 7828a7a5f8d6..ed770b9cc824 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -97,6 +97,7 @@ config MACH_ARMADILLO800EVA
97 bool "Armadillo-800 EVA board" 97 bool "Armadillo-800 EVA board"
98 depends on ARCH_R8A7740 98 depends on ARCH_R8A7740
99 select ARCH_REQUIRE_GPIOLIB 99 select ARCH_REQUIRE_GPIOLIB
100 select USE_OF
100 101
101config MACH_MARZEN 102config MACH_MARZEN
102 bool "MARZEN board" 103 bool "MARZEN board"
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index e750ea69cc94..9e37026ef9dd 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -768,11 +768,17 @@ static void __init eva_add_early_devices(void)
768 shmobile_timer.init = eva_earlytimer_init; 768 shmobile_timer.init = eva_earlytimer_init;
769} 769}
770 770
771MACHINE_START(ARMADILLO800EVA, "armadillo800eva") 771static const char *eva_boards_compat_dt[] __initdata = {
772 "renesas,armadillo800eva",
773 NULL,
774};
775
776DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva")
772 .map_io = r8a7740_map_io, 777 .map_io = r8a7740_map_io,
773 .init_early = eva_add_early_devices, 778 .init_early = eva_add_early_devices,
774 .init_irq = r8a7740_init_irq, 779 .init_irq = r8a7740_init_irq,
775 .handle_irq = shmobile_handle_irq_intc, 780 .handle_irq = shmobile_handle_irq_intc,
776 .init_machine = eva_init, 781 .init_machine = eva_init,
777 .timer = &shmobile_timer, 782 .timer = &shmobile_timer,
783 .dt_compat = eva_boards_compat_dt,
778MACHINE_END 784MACHINE_END