• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    platform {
3        dmac_config {
4            template dmac_controller {
5                index = 0;
6                match_attr = "";
7                reg_pbase = 0;
8                reg_size = 0x1000;
9                irq = 60;
10                max_transfer_size = 65535; // 64 * 1024 -1
11                channel_num = 8;
12            }
13
14            controller_0x10060000 :: dmac_controller {
15                index = 0;
16                match_attr = "hisilicon_hi35xx_dmac_0";
17                reg_pbase = 0x10060000;
18            }
19
20            controller_0x10061000 :: dmac_controller {
21                index = 1;
22                match_attr = "hisilicon_hi35xx_dmac_1";
23                reg_pbase = 0x10061000;
24            }
25        }
26    }
27}
28