1root { 2 platform { 3 template uart_controller { 4 match_attr = ""; 5 num = 0; 6 baudrate = 115200; 7 fifoRxEn = 1; 8 fifoTxEn = 1; 9 flags = 4; 10 regPbase = 0x12040000; 11 interrupt = 39; 12 iomemCount = 0x48; 13 } 14 controller_0x12040000 :: uart_controller { 15 match_attr = "hisilicon_hi35xx_uart_0"; 16 } 17 18 controller_0x12041000 :: uart_controller { 19 num = 1; 20 baudrate = 9600; 21 regPbase = 0x12041000; 22 interrupt = 40; 23 match_attr = "hisilicon_hi35xx_uart_1"; 24 } 25 26 controller_0x12042000 :: uart_controller { 27 num = 2; 28 regPbase = 0x12042000; 29 interrupt = 41; 30 match_attr = "hisilicon_hi35xx_uart_2"; 31 } 32 } 33} 34