• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    platform {
3        template uart_controller {
4            match_attr = "";
5            id = 0;
6            baudrate = 115200;
7
8            pin_tx_type = 0;
9            pin_tx_pin = 0;
10            pin_tx_mux = 0;
11            pin_tx_pull = 0;
12
13            pin_rx_type = 0;
14            pin_rx_pin = 0;
15            pin_rx_mux = 0;
16            pin_rx_pull = 0;
17
18            use_mode_type = 0;
19            use_mode_tx_dma_ch = 0;
20            use_mode_rx_dma_ch = 0;
21
22            rx_timeout_mode = 1;
23        }
24        controller_uart0 :: uart_controller {
25            match_attr = "asr582x_uart_0";
26            port = 0;                       /* UART_ID_0 */
27
28            pin_tx_pin = 0;                /* IO_PIN_10 */
29            pin_tx_mux = 25;                 /* IO_MUX_2  */
30
31            pin_rx_pin = 1;                /* IO_PIN_11 */
32            pin_rx_mux = 25;                 /* IO_MUX_2 */
33            tx_rx = 3;                     /* TX_RX MODE */
34       }
35    }
36}