From e3f565796ca50d1f8ba3d00cc44d01de325c89ee Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Tue, 29 Mar 2011 18:24:40 -0700 Subject: arm/dt: Add basic device tree support for overo Enable basic device tree support for Gumstix Overo. tested with Overo Tide COM and Tobi expansion board Signed-off-by: Andy Doan Signed-off-by: Grant Likely --- arch/arm/boot/dts/omap3-overo.dts | 7 +++++++ arch/arm/mach-omap2/board-overo.c | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-overo.dts (limited to 'arch') diff --git a/arch/arm/boot/dts/omap3-overo.dts b/arch/arm/boot/dts/omap3-overo.dts new file mode 100644 index 00000000000..c61f0112bf3 --- /dev/null +++ b/arch/arm/boot/dts/omap3-overo.dts @@ -0,0 +1,7 @@ +/dts-v1/; +/include/ "skeleton.dtsi" + +/ { + model = "Gumstix Overo"; + compatible = "gumstix,omap3-overo"; +}; diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 2c2228a3ec5..da6d2f150d9 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -786,6 +786,11 @@ static void __init overo_init(void) "OVERO_GPIO_USBH_CPEN\n"); } +static const char *omap3_overo_dt_match[] __initdata = { + "gumstix,omap3-overo", + NULL +}; + MACHINE_START(OVERO, "Gumstix Overo") .boot_params = 0x80000100, .reserve = omap_reserve, @@ -794,4 +799,5 @@ MACHINE_START(OVERO, "Gumstix Overo") .init_irq = omap_init_irq, .init_machine = overo_init, .timer = &omap_timer, + .dt_compat = omap3_overo_dt_match, MACHINE_END -- cgit v1.2.3