• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 = 0x120a0000;
11            interrupt = 38;
12            iomemCount = 0x48;
13        }
14        controller_0x120a0000 :: uart_controller {
15            match_attr = "hisilicon_hi35xx_uart_0";
16        }
17
18        controller_0x120a1000 :: uart_controller {
19            num = 1;
20            baudrate = 9600;
21            regPbase = 0x120a1000;
22            interrupt = 39;
23            match_attr = "hisilicon_hi35xx_uart_1";
24        }
25
26        controller_0x120a2000 :: uart_controller {
27            num = 2;
28            regPbase = 0x120a2000;
29            interrupt = 40;
30            match_attr = "hisilicon_hi35xx_uart_2";
31        }
32
33        controller_0x120a3000 :: uart_controller {
34            num = 3;
35            baudrate = 9600;
36            regPbase = 0x120a3000;
37            interrupt = 41;
38            match_attr = "hisilicon_hi35xx_uart_3";
39        }
40    }
41}
42