1root { 2 platform { 3 template uart_controller { 4 num = 0; 5 baudrate = 115200; 6 flags = 4; 7 reg_base = 0x12040000; 8 reg_step = 0x400; 9 interrupt = 39; 10 rx_buf_size = 0x1000; // default rx_buf_size 4096 11 clock_rate = 64000000; // clock_rate 64M 12 fifo_en = true; 13 } 14 15 controller_0x40010000 :: uart_controller { 16 match_attr = "stm32mp1_uart_4"; 17 num = 4; 18 reg_base = 0x40010000; 19 interrupt = 84; 20 } 21 controller_0x40011000 :: uart_controller { 22 match_attr = "stm32mp1_uart_5"; 23 num = 5; 24 reg_base = 0x40011000; 25 interrupt = 85; 26 } 27 } 28} 29