diff options
Diffstat (limited to 'arch/arm/mach-pxa/devices.c')
-rw-r--r-- | arch/arm/mach-pxa/devices.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c index ecc08f360b68..46fabe1cca11 100644 --- a/arch/arm/mach-pxa/devices.c +++ b/arch/arm/mach-pxa/devices.c | |||
@@ -935,6 +935,33 @@ void __init pxa3xx_set_nand_info(struct pxa3xx_nand_platform_data *info) | |||
935 | { | 935 | { |
936 | pxa_register_device(&pxa3xx_device_nand, info); | 936 | pxa_register_device(&pxa3xx_device_nand, info); |
937 | } | 937 | } |
938 | |||
939 | static struct resource pxa3xx_resources_gcu[] = { | ||
940 | { | ||
941 | .start = 0x54000000, | ||
942 | .end = 0x54000fff, | ||
943 | .flags = IORESOURCE_MEM, | ||
944 | }, | ||
945 | { | ||
946 | .start = IRQ_GCU, | ||
947 | .end = IRQ_GCU, | ||
948 | .flags = IORESOURCE_IRQ, | ||
949 | }, | ||
950 | }; | ||
951 | |||
952 | static u64 pxa3xx_gcu_dmamask = DMA_BIT_MASK(32); | ||
953 | |||
954 | struct platform_device pxa3xx_device_gcu = { | ||
955 | .name = "pxa3xx-gcu", | ||
956 | .id = -1, | ||
957 | .num_resources = ARRAY_SIZE(pxa3xx_resources_gcu), | ||
958 | .resource = pxa3xx_resources_gcu, | ||
959 | .dev = { | ||
960 | .dma_mask = &pxa3xx_gcu_dmamask, | ||
961 | .coherent_dma_mask = 0xffffffff, | ||
962 | }, | ||
963 | }; | ||
964 | |||
938 | #endif /* CONFIG_PXA3xx */ | 965 | #endif /* CONFIG_PXA3xx */ |
939 | 966 | ||
940 | /* pxa2xx-spi platform-device ID equals respective SSP platform-device ID + 1. | 967 | /* pxa2xx-spi platform-device ID equals respective SSP platform-device ID + 1. |