16 #include <linux/kernel.h>
20 #include <mach/irqs.h>
32 static struct resource resources_uart1[] = {
42 .name =
"uart_resource"
46 static struct resource resources_uart2[] = {
56 .name =
"uart_resource"
60 static struct resource resources_uart3[] = {
70 .name =
"uart_resource"
78 .resource = resources_uart1,
85 .resource = resources_uart2,
92 .resource = resources_uart3,
95 static struct resource resources_i2c[] = {
112 .resource = resources_i2c,
115 static struct resource resources_hsusb[] = {
132 .resource = resources_hsusb,
134 .coherent_dma_mask = 0xffffffff,
143 static struct resource resources_nand[] = {
155 .resource = resources_nand,
166 static struct resource resources_sdc1[] = {
189 static struct resource resources_sdc2[] = {
212 static struct resource resources_sdc3[] = {
235 static struct resource resources_sdc4[] = {
262 .resource = resources_sdc1,
264 .coherent_dma_mask = 0xffffffff,
272 .resource = resources_sdc2,
274 .coherent_dma_mask = 0xffffffff,
282 .resource = resources_sdc3,
284 .coherent_dma_mask = 0xffffffff,
292 .resource = resources_sdc4,
294 .coherent_dma_mask = 0xffffffff,
307 unsigned int stat_irq,
unsigned long stat_irq_flags)
315 pdev = msm_sdcc_devices[controller-1];
316 pdev->
dev.platform_data = plat;
324 res->
flags |= stat_irq_flags;
330 static struct resource resources_mddi0[] = {
343 static struct resource resources_mddi1[] = {
360 .resource = resources_mddi0,
362 .coherent_dma_mask = 0xffffffff,
370 .resource = resources_mddi1,
372 .coherent_dma_mask = 0xffffffff,
376 static struct resource resources_mdp[] = {
394 .resource = resources_mdp,
417 CLK_PCOM(
"sdc_pclk", SDC1_P_CLK,
"msm_sdcc.1",
OFF),
419 CLK_PCOM(
"sdc_pclk", SDC2_P_CLK,
"msm_sdcc.2",
OFF),
421 CLK_PCOM(
"sdc_pclk", SDC3_P_CLK,
"msm_sdcc.3",
OFF),
423 CLK_PCOM(
"sdc_pclk", SDC4_P_CLK,
"msm_sdcc.4",
OFF),
429 CLK_PCOM(
"uart_clk", UART2_CLK,
"msm_serial.1", 0),
430 CLK_PCOM(
"uart_clk", UART3_CLK,
"msm_serial.2",
OFF),
433 CLK_PCOM(
"usb_hs_clk", USB_HS_CLK,
"msm_hsusb",
OFF),
434 CLK_PCOM(
"usb_hs_pclk", USB_HS_P_CLK,
"msm_hsusb",
OFF),