From 1cc943e8eb72d52af5bd8d41ed2ee99a05e1b466 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Thu, 16 Sep 2010 20:09:31 -0700 Subject: [PATCH] [ARM] tegra: board-stingray: Add mdm6600 platform device Change-Id: Ifb61c8f5350665c4d398da343da265f8d1e9deef Signed-off-by: Benoit Goby --- arch/arm/mach-tegra/board-stingray.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/mach-tegra/board-stingray.c b/arch/arm/mach-tegra/board-stingray.c index 86876073a7bc..45b0d349c642 100644 --- a/arch/arm/mach-tegra/board-stingray.c +++ b/arch/arm/mach-tegra/board-stingray.c @@ -192,6 +192,21 @@ static struct platform_device hs_uarte = { }, }; +static struct resource mdm6600_resources[] = { + [0] = { + .flags = IORESOURCE_IRQ, + .start = TEGRA_GPIO_TO_IRQ(TEGRA_GPIO_PQ6), + .end = TEGRA_GPIO_TO_IRQ(TEGRA_GPIO_PQ6), + }, +}; + +static struct platform_device mdm6600_modem = { + .name = "mdm6600_modem", + .id = -1, + .resource = mdm6600_resources, + .num_resources = ARRAY_SIZE(mdm6600_resources), +}; + /* OTG gadget device */ static struct tegra_utmip_config udc_phy_config = { .hssync_start_delay = 0, @@ -612,6 +627,7 @@ static struct platform_device *stingray_devices[] __initdata = { &ram_console_device, &tegra_camera, &tegra_i2s_device1, + &mdm6600_modem, }; extern struct tegra_sdhci_platform_data stingray_wifi_data; /* sdhci2 */ -- 2.34.1