aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-04-04 22:29:49 -0600
committerGrant Likely <grant.likely@secretlab.ca>2011-04-04 22:29:49 -0600
commit7cd797d191bd24ce97264801ec4c6142cbe08b21 (patch)
tree5daea0d700811462ee9ef96c7239ca70b2343836 /arch/arm/mach-omap2
parent1449fb96cb7f12a28a4f0aebf83c0b0ece0dfeed (diff)
arm/dt: Add basic devicetree support to IGEPv2 and v3
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/Makefile.boot2
-rw-r--r--arch/arm/mach-omap2/board-igep0020.c6
-rw-r--r--arch/arm/mach-omap2/board-igep0030.c6
3 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile.boot b/arch/arm/mach-omap2/Makefile.boot
index 0f549013449..422c1700ccf 100644
--- a/arch/arm/mach-omap2/Makefile.boot
+++ b/arch/arm/mach-omap2/Makefile.boot
@@ -5,3 +5,5 @@ initrd_phys-y := 0x80800000
dtb-$(CONFIG_MACH_OMAP3_BEAGLE) += omap3-beagle.dtb
dtb-$(CONFIG_MACH_OMAP4_PANDA) += omap4-panda.dtb
dtb-$(CONFIG_MACH_OVERO) += omap3-overo.dtb
+dtb-$(CONFIG_MACH_IGEP0020) += isee-igep-v2.dtb
+dtb-$(CONFIG_MACH_IGEP0030) += isee-igep-v3.dtb
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index 5f8a2fd0633..9af11c42b86 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -703,6 +703,11 @@ static void __init igep2_init(void)
}
+static const char *igep2_dt_compat[] __initdata = {
+ "ISEE,igep-v2",
+ NULL
+};
+
MACHINE_START(IGEP0020, "IGEP v2 board")
.boot_params = 0x80000100,
.reserve = omap_reserve,
@@ -711,4 +716,5 @@ MACHINE_START(IGEP0020, "IGEP v2 board")
.init_irq = omap_init_irq,
.init_machine = igep2_init,
.timer = &omap_timer,
+ .dt_compat = &igep2_dt_compat,
MACHINE_END
diff --git a/arch/arm/mach-omap2/board-igep0030.c b/arch/arm/mach-omap2/board-igep0030.c
index b10db0e6ee6..01762bb6800 100644
--- a/arch/arm/mach-omap2/board-igep0030.c
+++ b/arch/arm/mach-omap2/board-igep0030.c
@@ -447,6 +447,11 @@ static void __init igep3_init(void)
}
+static const char *igep3_dt_compat[] __initdata = {
+ "ISEE,igep-v3",
+ NULL
+};
+
MACHINE_START(IGEP0030, "IGEP OMAP3 module")
.boot_params = 0x80000100,
.reserve = omap_reserve,
@@ -455,4 +460,5 @@ MACHINE_START(IGEP0030, "IGEP OMAP3 module")
.init_irq = omap_init_irq,
.init_machine = igep3_init,
.timer = &omap_timer,
+ .dt_compat = &igep3_dt_compat,
MACHINE_END