• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    module = "telink,b91";
3    device_info {
4        match_attr = "hdf_manager";
5        template host {
6            hostName = "";
7            priority = 100;
8            template device {
9                template deviceNode {
10                    policy = 0;
11                    priority = 100;
12                    preload = 0;
13                    permission = 0664;
14                    moduleName = "";
15                    serviceName = "";
16                    deviceMatchAttr = "";
17                }
18            }
19        }
20        platform :: host {
21            hostName = "platform_host";
22            priority = 50;
23            device_gpio :: device {
24                device0 :: deviceNode {
25                    policy = 0;
26                    priority = 10;
27                    moduleName = "TELINK_HDF_PLATFORM_GPIO";
28                    serviceName = "HDF_PLATFORM_GPIO";
29                    deviceMatchAttr = "telink_b91_gpio";
30                }
31            }
32            device_uart :: device {
33                device0 :: deviceNode {
34                    policy = 1;
35                    priority = 40;
36                    moduleName = "TELINK_HDF_PLATFORM_UART";
37                    serviceName = "HDF_PLATFORM_UART_0";
38                    deviceMatchAttr = "telink_b91_uart_0";
39                }
40                device1 :: deviceNode {
41                    policy = 2;
42                    priority = 40;
43                    moduleName = "TELINK_HDF_PLATFORM_UART";
44                    serviceName = "HDF_PLATFORM_UART_1";
45                    deviceMatchAttr = "telink_b91_uart_1";
46                }
47            }
48        }
49    }
50}
51