Lines Matching full:uart

61 #include "hw/char/cmsdk-apb-uart.h"
125 int uart_overflow_irq; /* number of the combined UART overflow IRQ */
158 CMSDKAPBUART uart[6]; member
440 CMSDKAPBUART *uart = opaque; in make_uart() local
441 int i = uart - &mms->uart[0]; in make_uart()
445 object_initialize_child(OBJECT(mms), name, uart, TYPE_CMSDK_APB_UART); in make_uart()
446 qdev_prop_set_chr(DEVICE(uart), "chardev", serial_hd(i)); in make_uart()
447 qdev_prop_set_uint32(DEVICE(uart), "pclk-frq", mmc->apb_periph_frq); in make_uart()
448 sysbus_realize(SYS_BUS_DEVICE(uart), &error_fatal); in make_uart()
449 s = SYS_BUS_DEVICE(uart); in make_uart()
455 return sysbus_mmio_get_region(SYS_BUS_DEVICE(uart), 0); in make_uart()
910 * and one for the RX overflow for each UART we might have. in mps2tz_common_init()
914 object_initialize_child(OBJECT(mms), "uart-irq-orgate", in mps2tz_common_init()
917 2 * ARRAY_SIZE(mms->uart), in mps2tz_common_init()
949 { "uart0", make_uart, &mms->uart[0], 0x40200000, 0x1000, { 32, 33, 42 } }, in mps2tz_common_init()
950 { "uart1", make_uart, &mms->uart[1], 0x40201000, 0x1000, { 34, 35, 43 } }, in mps2tz_common_init()
951 { "uart2", make_uart, &mms->uart[2], 0x40202000, 0x1000, { 36, 37, 44 } }, in mps2tz_common_init()
952 { "uart3", make_uart, &mms->uart[3], 0x40203000, 0x1000, { 38, 39, 45 } }, in mps2tz_common_init()
953 { "uart4", make_uart, &mms->uart[4], 0x40204000, 0x1000, { 40, 41, 46 } }, in mps2tz_common_init()
1024 { "uart0", make_uart, &mms->uart[0], 0x41303000, 0x1000, { 32, 33, 42 } }, in mps2tz_common_init()
1025 { "uart1", make_uart, &mms->uart[1], 0x41304000, 0x1000, { 34, 35, 43 } }, in mps2tz_common_init()
1026 { "uart2", make_uart, &mms->uart[2], 0x41305000, 0x1000, { 36, 37, 44 } }, in mps2tz_common_init()
1027 { "uart3", make_uart, &mms->uart[3], 0x41306000, 0x1000, { 38, 39, 45 } }, in mps2tz_common_init()
1028 { "uart4", make_uart, &mms->uart[4], 0x41307000, 0x1000, { 40, 41, 46 } }, in mps2tz_common_init()
1029 { "uart5", make_uart, &mms->uart[5], 0x41308000, 0x1000, { 124, 125, 126 } }, in mps2tz_common_init()
1078 { "uart0", make_uart, &mms->uart[0], 0x49303000, 0x1000, { 33, 34, 43 } }, in mps2tz_common_init()
1079 { "uart1", make_uart, &mms->uart[1], 0x49304000, 0x1000, { 35, 36, 44 } }, in mps2tz_common_init()
1080 { "uart2", make_uart, &mms->uart[2], 0x49305000, 0x1000, { 37, 38, 45 } }, in mps2tz_common_init()
1081 { "uart3", make_uart, &mms->uart[3], 0x49306000, 0x1000, { 39, 40, 46 } }, in mps2tz_common_init()
1082 { "uart4", make_uart, &mms->uart[4], 0x49307000, 0x1000, { 41, 42, 47 } }, in mps2tz_common_init()
1083 { "uart5", make_uart, &mms->uart[5], 0x49308000, 0x1000, { 125, 126, 127 } }, in mps2tz_common_init()