static void __init b2057_setup(char **cmdline_p) { printk(KERN_INFO "STMicroelectronics B2057 board initialisation\n"); stxh205_early_device_init(); /* Socket JM5 DB9 connector */ stxh205_configure_asc(STXH205_ASC(10), &(struct stxh205_asc_config) { .hw_flow_control = 0, .is_console = 1, });
static void __init b2108_setup(char **cmdline_p) { printk(KERN_INFO "STMicroelectronics B2108 board initialisation\n"); stxh205_early_device_init(); #if 0 /* * UART_SW: On board DB9 connector JM5 */ stxh205_configure_asc(STXH205_ASC(10), &(struct stxh205_asc_config) { .hw_flow_control = 0, .is_console = 1, });
static void __init b2057_setup(char **cmdline_p) { printk(KERN_INFO "STMicroelectronics B2057 board initialisation\n"); stxh205_early_device_init(); /* Socket JM5 DB9 connector */ stxh205_configure_asc(STXH205_ASC(10), &(struct stxh205_asc_config) { .hw_flow_control = 0, .is_console = 1, }); /* * Header JK1 to UART daughter board (no h/w flow control) or * socket JB7 to MoCA (with h/w flow control). */ stxh205_configure_asc(STXH205_ASC(1), &(struct stxh205_asc_config) { .hw_flow_control = 0, }); } static struct platform_device b2057_leds = { .name = "leds-gpio", .id = -1, .dev.platform_data = &(struct gpio_led_platform_data) { .num_leds = 2, .leds = (struct gpio_led[]) { { .name = "GREEN", .default_trigger = "heartbeat", .gpio = stm_gpio(3, 2), }, { .name = "RED",