16 #include <linux/kernel.h>
21 #include <mach/irqs.h>
24 #include <mach/board.h>
33 static struct resource resources_uart3[] = {
43 .name =
"uart_resource"
51 .resource = resources_uart3,
59 static struct resource resources_otg[] = {
76 .resource = resources_otg,
78 .coherent_dma_mask = 0xffffffff,
82 static struct resource resources_hsusb[] = {
99 .resource = resources_hsusb,
101 .coherent_dma_mask = 0xffffffff,
105 static u64 dma_mask = 0xffffffffULL;
106 static struct resource resources_hsusb_host[] = {
120 .name =
"msm_hsusb_host",
122 .num_resources =
ARRAY_SIZE(resources_hsusb_host),
123 .resource = resources_hsusb_host,
125 .dma_mask = &dma_mask,
126 .coherent_dma_mask = 0xffffffffULL,
130 static struct resource resources_sdc1[] = {
153 static struct resource resources_sdc2[] = {
176 static struct resource resources_sdc3[] = {
199 static struct resource resources_sdc4[] = {
226 .resource = resources_sdc1,
228 .coherent_dma_mask = 0xffffffff,
236 .resource = resources_sdc2,
238 .coherent_dma_mask = 0xffffffff,
246 .resource = resources_sdc3,
248 .coherent_dma_mask = 0xffffffff,
256 .resource = resources_sdc4,
258 .coherent_dma_mask = 0xffffffff,
271 unsigned int stat_irq,
unsigned long stat_irq_flags)
279 pdev = msm_sdcc_devices[controller-1];
280 pdev->
dev.platform_data = plat;
288 res->
flags |= stat_irq_flags;
310 CLK_PCOM(
"mdp_lcdc_pclk_clk", MDP_LCDC_PCLK_CLK,
NULL, 0),
311 CLK_PCOM(
"mdp_lcdc_pad_pclk_clk", MDP_LCDC_PAD_PCLK_CLK,
NULL, 0),
317 CLK_PCOM(
"sdc_pclk", SDC1_P_CLK,
"msm_sdcc.1",
OFF),
319 CLK_PCOM(
"sdc_pclk", SDC2_P_CLK,
"msm_sdcc.2",
OFF),
321 CLK_PCOM(
"sdc_pclk", SDC3_P_CLK,
"msm_sdcc.3",
OFF),
323 CLK_PCOM(
"sdc_pclk", SDC4_P_CLK,
"msm_sdcc.4",
OFF),
331 CLK_PCOM(
"uart_clk", UART3_CLK,
"msm_serial.2",
OFF),