From aba4ea944f9677b80394678bac11b4b21e722d1f Mon Sep 17 00:00:00 2001 From: Jarkko Nikula Date: Tue, 1 Jul 2008 10:53:39 +0300 Subject: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX This adds basic booting support and selects CONFIG_MACH_NOKIA_N810 since most of the HW and configuration are the same in N810 and N810 WiMAX. Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Kconfig | 5 +++++ arch/arm/mach-omap2/board-n810.c | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 072adeda124..bb6d695e78f 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -45,6 +45,11 @@ config MACH_NOKIA_N810 bool "Nokia N810" depends on MACH_NOKIA_N800 +config MACH_NOKIA_N810_WIMAX + bool "Nokia N810 WiMAX" + depends on MACH_NOKIA_N800 + select MACH_NOKIA_N810 + config MACH_OMAP2_TUSB6010 bool depends on ARCH_OMAP2 && ARCH_OMAP2420 diff --git a/arch/arm/mach-omap2/board-n810.c b/arch/arm/mach-omap2/board-n810.c index fb0e61fe36f..8609a0b6591 100644 --- a/arch/arm/mach-omap2/board-n810.c +++ b/arch/arm/mach-omap2/board-n810.c @@ -35,3 +35,13 @@ MACHINE_START(NOKIA_N810, "Nokia N810") .init_machine = nokia_n810_init, .timer = &omap_timer, MACHINE_END + +MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") + .phys_io = 0x48000000, + .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, + .boot_params = 0x80000100, + .map_io = nokia_n800_map_io, + .init_irq = nokia_n800_init_irq, + .init_machine = nokia_n810_init, + .timer = &omap_timer, +MACHINE_END -- 2.41.1