public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
@ 2008-07-01  7:53 Jarkko Nikula
  2008-07-01  9:39 ` Felipe Balbi
  2008-07-03 10:26 ` Tony Lindgren
  0 siblings, 2 replies; 8+ messages in thread
From: Jarkko Nikula @ 2008-07-01  7:53 UTC (permalink / raw)
  To: linux-omap; +Cc: Jarkko Nikula

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 <jarkko.nikula@nokia.com>
---
 arch/arm/mach-omap2/Kconfig      |    5 +++++
 arch/arm/mach-omap2/board-n810.c |   10 ++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 072aded..bb6d695 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 fb0e61f..8609a0b 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
-- 
1.5.5.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-07-03 12:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01  7:53 [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX Jarkko Nikula
2008-07-01  9:39 ` Felipe Balbi
2008-07-01 10:25   ` Jarkko Nikula
2008-07-01 11:55     ` Felipe Balbi
2008-07-01 12:09     ` Woodruff, Richard
2008-07-01 12:39       ` Jarkko Nikula
2008-07-01 13:11         ` Woodruff, Richard
2008-07-03 10:26 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox