static void __init easy83000_setup(void) { easy_setup_pqfp(); adm5120_add_device_switch(6, NULL); /* TODO: add VINAX device */ }
void __init cas6xx_setup(void) { cas6xx_flash_setup(); adm5120_add_device_uart(0); adm5120_add_device_uart(1); adm5120_add_device_switch(1, NULL); }
static void __init eb214a_setup(void) { #ifdef CONFIG_MTD_PARTITIONS adm5120_flash0_data.nr_parts = ARRAY_SIZE(eb214a_partitions); adm5120_flash0_data.parts = eb214a_partitions; #endif /* CONFIG_MTD_PARTITIONS */ adm5120_add_device_flash(0); adm5120_add_device_gpio(EB214A_GPIO_DEV_MASK); adm5120_add_device_uart(0); /* adm5120_add_device_uart(1); */ adm5120_add_device_switch(5, eb214a_vlans); eb214a_mac_setup(); adm5120_add_device_gpio_buttons(ARRAY_SIZE(eb214a_gpio_buttons), eb214a_gpio_buttons); adm5120_add_device_gpio_leds(ARRAY_SIZE(eb214a_gpio_leds), eb214a_gpio_leds); adm5120_pci_set_irq_map(ARRAY_SIZE(eb214a_pci_irqs), eb214a_pci_irqs); /* adm5120_add_device_usb(); */ }
void __init cas7xx_setup(void) { cas7xx_flash_setup(); cellvision_mac_setup(); adm5120_add_device_uart(0); adm5120_add_device_uart(1); adm5120_add_device_switch(1, NULL); }
static void __init rb192_setup(void) { rb1xx_generic_setup(); rb1xx_add_device_nand(); adm5120_add_device_gpio(0); adm5120_add_device_switch(6, rb192_vlans); }
static void __init adm5120_generic_board_setup(void) { adm5120_add_device_uart(0); adm5120_add_device_uart(1); adm5120_add_device_flash(0); adm5120_add_device_switch(6, NULL); }
static void __init rb150_setup(void) { rb1xx_gpio_buttons[0].gpio = RB150_GPIO_RESET_BUTTON; rb1xx_generic_setup(); rb150_add_device_nand(); adm5120_add_device_gpio_leds(ARRAY_SIZE(rb150_gpio_leds), rb150_gpio_leds); adm5120_add_device_switch(5, rb150_vlans); }
static void __init rb153_setup(void) { rb1xx_generic_setup(); rb1xx_add_device_nand(); rb153_add_device_cf(); adm5120_add_device_gpio_leds(ARRAY_SIZE(rb153_gpio_leds), rb153_gpio_leds); adm5120_add_device_switch(5, rb153_vlans); }
static void __init easy5120_rt_setup(void) { easy_setup_bga(); adm5120_add_device_switch(5, easy5120_rt_vlans); adm5120_add_device_usb(); adm5120_add_device_gpio_leds(ARRAY_SIZE(easy5120_rt_gpio_leds), easy5120_rt_gpio_leds); adm5120_pci_set_irq_map(ARRAY_SIZE(easy5120_rt_pci_irqs), easy5120_rt_pci_irqs); }
static void __init np28g_setup(void) { compex_generic_setup(); /* setup reset line */ gpio_request(ADM5120_GPIO_PIN4, NULL); gpio_direction_output(ADM5120_GPIO_PIN4, 1); adm5120_board_reset = np28g_reset; adm5120_add_device_switch(4, np28g_vlans); adm5120_add_device_usb(); adm5120_add_device_gpio_leds(ARRAY_SIZE(np28g_gpio_leds), np28g_gpio_leds); adm5120_pci_set_irq_map(ARRAY_SIZE(np28g_pci_irqs), np28g_pci_irqs); }
static void __init wp54_setup(void) { compex_generic_setup(); /* setup reset line */ gpio_request(ADM5120_GPIO_PIN3, NULL); gpio_direction_output(ADM5120_GPIO_PIN3, 1); adm5120_board_reset = wp54_reset; adm5120_add_device_switch(2, wp54_vlans); adm5120_add_device_gpio_buttons(ARRAY_SIZE(wp54_gpio_buttons), wp54_gpio_buttons); adm5120_add_device_gpio_leds(ARRAY_SIZE(wp54_gpio_leds), wp54_gpio_leds); adm5120_pci_set_irq_map(ARRAY_SIZE(wp54_pci_irqs), wp54_pci_irqs); }
void __init br61xx_generic_setup(void) { adm5120_flash0_data.nr_parts = ARRAY_SIZE(br61xx_partitions); adm5120_flash0_data.parts = br61xx_partitions; adm5120_add_device_flash(0); adm5120_add_device_gpio(BR61XX_GPIO_DEV_MASK); adm5120_add_device_uart(0); adm5120_add_device_uart(1); adm5120_add_device_switch(5, br61xx_vlans); adm5120_register_gpio_buttons(-1, BR61XX_KEYS_POLL_INTERVAL, ARRAY_SIZE(br61xx_gpio_buttons), br61xx_gpio_buttons); br61xx_mac_setup(); }
void __init pmugw_setup(void) { /* setup flash A20 line */ gpio_request(ADM5120_GPIO_PIN5, NULL); gpio_direction_output(ADM5120_GPIO_PIN5, 0); adm5120_flash0_data.switch_bank = switch_bank_gpio5; #ifdef CONFIG_MTD_PARTITIONS adm5120_flash0_data.nr_parts = ARRAY_SIZE(pmugw_partitions); adm5120_flash0_data.parts = pmugw_partitions; #endif /* CONFIG_MTD_PARTITIONS */ adm5120_add_device_uart(1); /* ttyS0 */ adm5120_add_device_uart(0); /* ttyS1 */ adm5120_add_device_flash(0); pmugw_setup_mac(); adm5120_add_device_switch(5, pmugw_vlans); }
static void __init easy5120pata_setup(void) { easy_setup_pqfp(); adm5120_add_device_switch(6, NULL); }