• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    hisi_usb_0x100E0000 {
3        match_attr = "hisilicon,hi35xx-xhci";
4        controller_list = ["xhci","hiudc3"];
5        template dev_cfg {
6            controller = "";
7            res_type = 0; /* 1-interrupt 2-dma 3-io memory 4-io port */
8            res_unit = 0;
9            res_start = 0;
10            res_end = 0;
11            res_count = 0;
12        }
13
14        xhci_res_memory :: dev_cfg {
15            controller = "xhci";
16            res_type = 3;
17            res_unit = 0;
18            res_start = 0x100E0000;
19            res_end = 0x100F0000;
20            res_count = 0x10000;
21        }
22
23        xhci_res_irq :: dev_cfg {
24            controller = "xhci";
25            res_type = 1;
26            res_unit = 0;
27            res_start = 59;
28            res_end = 59;
29            res_count = 1;
30        }
31
32        hiudc3_res_memory :: dev_cfg {
33            controller = "hiudc3";
34            res_type = 3;
35            res_unit = 0;
36            res_start = 0x100E0000;
37            res_end = 0x100EC000;
38            res_count = 0xC000;
39        }
40
41        hiudc3_res_irq :: dev_cfg {
42            controller = "hiudc3";
43            res_type = 1;
44            res_unit = 0;
45            res_start = 59;
46            res_end = 59;
47            res_count = 1;
48        }
49    }
50}
51