void __init s5pv210_map_io(void) { iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); /* initialise device information early */ s5pv210_default_sdhci0(); s5pv210_default_sdhci1(); s5pv210_default_sdhci2(); s5pv210_default_sdhci3(); s3c_adc_setname("s3c64xx-adc"); s3c_cfcon_setname("s5pv210-pata"); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); s3c_fb_setname("s5pv210-fb"); s3c_adc_setname("s3c64xx-adc"); /* Use s5pv210-keypad instead of samsung-keypad */ samsung_keypad_setname("s5pv210-keypad"); }
/* * exynos4_map_io * * register the standard cpu IO areas */ void __init exynos4_map_io(void) { iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc)); if (soc_is_exynos4210()) { iotable_init(exynos4210_iodesc, ARRAY_SIZE(exynos4210_iodesc)); if (samsung_rev() == EXYNOS4210_REV_0) iotable_init(exynos4210_iodesc_rev_0, ARRAY_SIZE(exynos4210_iodesc_rev_0)); else iotable_init(exynos4210_iodesc_rev_1, ARRAY_SIZE(exynos4210_iodesc_rev_1)); } else { iotable_init(exynos4212_iodesc, ARRAY_SIZE(exynos4212_iodesc)); } #ifdef CONFIG_S3C_DEV_HSMMC exynos4_default_sdhci0(); #endif #ifdef CONFIG_S3C_DEV_HSMMC1 exynos4_default_sdhci1(); #endif #ifdef CONFIG_S3C_DEV_HSMMC2 exynos4_default_sdhci2(); #endif #ifdef CONFIG_S3C_DEV_HSMMC3 exynos4_default_sdhci3(); #endif #ifdef CONFIG_EXYNOS4_DEV_MSHC exynos4_default_mshci(); #endif exynos4_i2sv3_setup_resource(); s3c_fimc_setname(0, "exynos4-fimc"); s3c_fimc_setname(1, "exynos4-fimc"); s3c_fimc_setname(2, "exynos4-fimc"); s3c_fimc_setname(3, "exynos4-fimc"); #ifdef CONFIG_S3C_DEV_RTC s3c_rtc_setname("exynos-rtc"); #endif #ifdef CONFIG_FB_S3C s5p_fb_setname(0, "exynos4-fb"); /* FIMD0 */ #endif if (soc_is_exynos4210()) s3c_adc_setname("samsung-adc-v3"); else s3c_adc_setname("samsung-adc-v4"); s5p_hdmi_setname("exynos4-hdmi"); /* The I2C bus controllers are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); #ifdef CONFIG_S5P_DEV_ACE s5p_ace_setname("exynos4-ace"); #endif }
void __init s5pv210_map_io(void) { init_consistent_dma_size(14 << 20); /* */ s5pv210_default_sdhci0(); s5pv210_default_sdhci1(); s5pv210_default_sdhci2(); s5pv210_default_sdhci3(); s3c_adc_setname("samsung-adc-v3"); s3c_cfcon_setname("s5pv210-pata"); s3c_fimc_setname(0, "s5pv210-fimc"); s3c_fimc_setname(1, "s5pv210-fimc"); s3c_fimc_setname(2, "s5pv210-fimc"); /* */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); s3c_fb_setname("s5pv210-fb"); /* */ samsung_keypad_setname("s5pv210-keypad"); /* */ s5p_hdmi_setname("s5pv210-hdmi"); }
void __init s5pv210_map_io(void) { /* initialise device information early */ s5pv210_default_sdhci0(); s5pv210_default_sdhci1(); s5pv210_default_sdhci2(); s5pv210_default_sdhci3(); s3c_adc_setname("samsung-adc-v3"); s3c_cfcon_setname("s5pv210-pata"); s3c_fimc_setname(0, "s5pv210-fimc"); s3c_fimc_setname(1, "s5pv210-fimc"); s3c_fimc_setname(2, "s5pv210-fimc"); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); s3c_fb_setname("s5pv210-fb"); /* Use s5pv210-keypad instead of samsung-keypad */ samsung_keypad_setname("s5pv210-keypad"); /* setup TV devices */ s5p_hdmi_setname("s5pv210-hdmi"); s3c64xx_spi_setname("s5pv210-spi"); }
int __init s3c2416_init(void) { printk(KERN_INFO "S3C2416: Initializing architecture\n"); /* change WDT IRQ number */ s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT; s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT; /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_fb_setname("s3c2443-fb"); s3c_adc_setname("s3c2416-adc"); s3c_rtc_setname("s3c2416-rtc"); #ifdef CONFIG_PM_SLEEP register_syscore_ops(&s3c2416_pm_syscore_ops); register_syscore_ops(&s3c24xx_irq_syscore_ops); register_syscore_ops(&s3c2416_irq_syscore_ops); #endif return device_register(&s3c2416_dev); }
void __init s5pv210_map_io(void) { iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); /* initialise device information early */ #ifdef CONFIG_S3C_DEV_HSMMC s5pv210_default_sdhci0(); #endif #ifdef CONFIG_S3C_DEV_HSMMC1 s5pv210_default_sdhci1(); #endif #ifdef CONFIG_S3C_DEV_HSMMC2 s5pv210_default_sdhci2(); #endif #ifdef CONFIG_S3C_DEV_HSMMC3 s5pv210_default_sdhci3(); #endif s3c_adc_setname("s3c64xx-adc"); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); }
void __init exynos4_map_io(void) { iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc)); if (soc_is_exynos4210() && samsung_rev() == EXYNOS4210_REV_0) iotable_init(exynos4_iodesc0, ARRAY_SIZE(exynos4_iodesc0)); else iotable_init(exynos4_iodesc1, ARRAY_SIZE(exynos4_iodesc1)); /* initialize device information early */ exynos4_default_sdhci0(); exynos4_default_sdhci1(); exynos4_default_sdhci2(); exynos4_default_sdhci3(); s3c_adc_setname("samsung-adc-v3"); s3c_fimc_setname(0, "exynos4-fimc"); s3c_fimc_setname(1, "exynos4-fimc"); s3c_fimc_setname(2, "exynos4-fimc"); s3c_fimc_setname(3, "exynos4-fimc"); /* The I2C bus controllers are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); s5p_fb_setname(0, "exynos4-fb"); s5p_hdmi_setname("exynos4-hdmi"); }
void __init s5p6440_map_io(void) { /* */ s3c_adc_setname("s3c64xx-adc"); s3c_fb_setname("s5p64x0-fb"); s5p64x0_default_sdhci0(); s5p64x0_default_sdhci1(); s5p6440_default_sdhci2(); iotable_init(s5p6440_iodesc, ARRAY_SIZE(s5p6440_iodesc)); init_consistent_dma_size(SZ_8M); }
void __init s5p6440_map_io(void) { /* initialize any device information early */ s3c_adc_setname("s3c64xx-adc"); s3c_fb_setname("s5p64x0-fb"); s3c64xx_spi_setname("s5p64x0-spi"); s5p64x0_default_sdhci0(); s5p64x0_default_sdhci1(); s5p6440_default_sdhci2(); iotable_init(s5p6440_iodesc, ARRAY_SIZE(s5p6440_iodesc)); }
void __init s5p6450_map_io(void) { /* initialize any device information early */ s3c_adc_setname("s3c64xx-adc"); s3c_fb_setname("s5p64x0-fb"); s5p64x0_default_sdhci0(); s5p64x0_default_sdhci1(); s5p6450_default_sdhci2(); iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6450_iodesc)); init_consistent_dma_size(SZ_8M); }
int __init s3c2443_init(void) { printk("S3C2443: Initialising architecture\n"); s3c_nand_setname("s3c2412-nand"); s3c_fb_setname("s3c2443-fb"); s3c_adc_setname("s3c2443-adc"); s3c_rtc_setname("s3c2443-rtc"); /* change WDT IRQ number */ s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT; s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT; return device_register(&s3c2443_dev); }
void __init s3c6410_map_io(void) { /* initialise device information early */ s3c6410_default_sdhci0(); s3c6410_default_sdhci1(); s3c6410_default_sdhci2(); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_adc_setname("s3c64xx-adc"); s3c_device_nand.name = "s3c6410-nand"; s3c_onenand_setname("s3c6410-onenand"); s3c64xx_onenand1_setname("s3c6410-onenand"); s3c_cfcon_setname("s3c64xx-pata"); }
void __init s3c6410_map_io(void) { s3c6410_default_sdhci0(); s3c6410_default_sdhci1(); s3c6410_default_sdhci2(); s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_adc_setname("s3c64xx-adc"); s3c_device_nand.name = "s3c6400-nand"; s3c_onenand_setname("s3c6410-onenand"); s3c64xx_onenand1_setname("s3c6410-onenand"); s3c_cfcon_setname("s3c64xx-pata"); }
void __init s5pc100_map_io(void) { /* initialise device information early */ s5pc100_default_sdhci0(); s5pc100_default_sdhci1(); s5pc100_default_sdhci2(); s3c_adc_setname("s3c64xx-adc"); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_onenand_setname("s5pc100-onenand"); s3c_fb_setname("s5pc100-fb"); s3c_cfcon_setname("s5pc100-pata"); s3c64xx_spi_setname("s5pc100-spi"); }
/* s5pv310_map_io * * register the standard cpu IO areas */ void __init s5pv310_map_io(void) { iotable_init(s5pv310_iodesc, ARRAY_SIZE(s5pv310_iodesc)); /* initialize device information early */ #ifdef CONFIG_S3C_DEV_HSMMC s5pv310_default_sdhci0(); #endif #ifdef CONFIG_S3C_DEV_HSMMC1 s5pv310_default_sdhci1(); #endif #ifdef CONFIG_S3C_DEV_HSMMC2 s5pv310_default_sdhci2(); #endif #ifdef CONFIG_S3C_DEV_HSMMC3 s5pv310_default_sdhci3(); #endif #ifdef CONFIG_S5P_DEV_MSHC s5pv310_default_mshci(); #endif s3c_adc_setname("s3c64xx-adc"); }
int __init s3c2416_init(void) { printk(KERN_INFO "S3C2416: Initializing architecture\n"); s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT; s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT; s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_fb_setname("s3c2443-fb"); s3c_adc_setname("s3c2416-adc"); s3c_rtc_setname("s3c2416-rtc"); #ifdef CONFIG_PM register_syscore_ops(&s3c2416_pm_syscore_ops); #endif register_syscore_ops(&s3c24xx_irq_syscore_ops); return device_register(&s3c2416_dev); }
void __init s5p6440_map_io(void) { /* initialize any device information early */ s3c_adc_setname("s3c64xx-adc"); }