pxa25x.c (fdc614e873bc56ed15d8f4e9fa33516cd0915fc2) | pxa25x.c (7a8576204333d133d58cbcc59dacf49a5546e3e4) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/pxa25x.c 3 * 4 * Author: Nicolas Pitre 5 * Created: Jun 15, 2001 6 * Copyright: MontaVista Software Inc. 7 * 8 * Code specific to PXA21x/25x/26x variants. --- 113 unchanged lines hidden (view full) --- 122 * PXA 2xx clock declarations. Order is important (see aliases below) 123 * Please be careful not to disrupt the ordering. 124 */ 125static struct clk pxa25x_clks[] = { 126 INIT_CK("LCDCLK", LCD, &clk_pxa25x_lcd_ops, &pxa_device_fb.dev), 127 INIT_CKEN("UARTCLK", FFUART, 14745600, 1, &pxa_device_ffuart.dev), 128 INIT_CKEN("UARTCLK", BTUART, 14745600, 1, &pxa_device_btuart.dev), 129 INIT_CKEN("UARTCLK", STUART, 14745600, 1, NULL), | 1/* 2 * linux/arch/arm/mach-pxa/pxa25x.c 3 * 4 * Author: Nicolas Pitre 5 * Created: Jun 15, 2001 6 * Copyright: MontaVista Software Inc. 7 * 8 * Code specific to PXA21x/25x/26x variants. --- 113 unchanged lines hidden (view full) --- 122 * PXA 2xx clock declarations. Order is important (see aliases below) 123 * Please be careful not to disrupt the ordering. 124 */ 125static struct clk pxa25x_clks[] = { 126 INIT_CK("LCDCLK", LCD, &clk_pxa25x_lcd_ops, &pxa_device_fb.dev), 127 INIT_CKEN("UARTCLK", FFUART, 14745600, 1, &pxa_device_ffuart.dev), 128 INIT_CKEN("UARTCLK", BTUART, 14745600, 1, &pxa_device_btuart.dev), 129 INIT_CKEN("UARTCLK", STUART, 14745600, 1, NULL), |
130 INIT_CKEN("UDCCLK", USB, 47923000, 5, &pxa_device_udc.dev), | 130 INIT_CKEN("UDCCLK", USB, 47923000, 5, &pxa25x_device_udc.dev), |
131 INIT_CKEN("MMCCLK", MMC, 19169000, 0, &pxa_device_mci.dev), 132 INIT_CKEN("I2CCLK", I2C, 31949000, 0, &pxa_device_i2c.dev), 133 134 INIT_CKEN("SSPCLK", SSP, 3686400, 0, &pxa25x_device_ssp.dev), 135 INIT_CKEN("SSPCLK", NSSP, 3686400, 0, &pxa25x_device_nssp.dev), 136 INIT_CKEN("SSPCLK", ASSP, 3686400, 0, &pxa25x_device_assp.dev), 137 INIT_CKEN("PWMCLK", PWM0, 3686400, 0, &pxa25x_device_pwm0.dev), 138 INIT_CKEN("PWMCLK", PWM1, 3686400, 0, &pxa25x_device_pwm1.dev), --- 123 unchanged lines hidden (view full) --- 262 263void __init pxa25x_init_irq(void) 264{ 265 pxa_init_irq(32, pxa25x_set_wake); 266 pxa_init_gpio(85, pxa25x_set_wake); 267} 268 269static struct platform_device *pxa25x_devices[] __initdata = { | 131 INIT_CKEN("MMCCLK", MMC, 19169000, 0, &pxa_device_mci.dev), 132 INIT_CKEN("I2CCLK", I2C, 31949000, 0, &pxa_device_i2c.dev), 133 134 INIT_CKEN("SSPCLK", SSP, 3686400, 0, &pxa25x_device_ssp.dev), 135 INIT_CKEN("SSPCLK", NSSP, 3686400, 0, &pxa25x_device_nssp.dev), 136 INIT_CKEN("SSPCLK", ASSP, 3686400, 0, &pxa25x_device_assp.dev), 137 INIT_CKEN("PWMCLK", PWM0, 3686400, 0, &pxa25x_device_pwm0.dev), 138 INIT_CKEN("PWMCLK", PWM1, 3686400, 0, &pxa25x_device_pwm1.dev), --- 123 unchanged lines hidden (view full) --- 262 263void __init pxa25x_init_irq(void) 264{ 265 pxa_init_irq(32, pxa25x_set_wake); 266 pxa_init_gpio(85, pxa25x_set_wake); 267} 268 269static struct platform_device *pxa25x_devices[] __initdata = { |
270 &pxa_device_udc, | 270 &pxa25x_device_udc, |
271 &pxa_device_ffuart, 272 &pxa_device_btuart, 273 &pxa_device_stuart, 274 &pxa_device_i2s, 275 &pxa_device_rtc, 276 &pxa25x_device_ssp, 277 &pxa25x_device_nssp, 278 &pxa25x_device_assp, --- 50 unchanged lines hidden --- | 271 &pxa_device_ffuart, 272 &pxa_device_btuart, 273 &pxa_device_stuart, 274 &pxa_device_i2s, 275 &pxa_device_rtc, 276 &pxa25x_device_ssp, 277 &pxa25x_device_nssp, 278 &pxa25x_device_assp, --- 50 unchanged lines hidden --- |