kernel: support uart_c