1root { 2 module = "goodix,gr551x"; 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 permission = 0644; 28 moduleName = "HDF_PLATFORM_GPIO"; 29 serviceName = "HDF_PLATFORM_GPIO"; 30 deviceMatchAttr = "goodix_gr55xx_gpio"; 31 } 32 } 33 device_uart :: device { 34 device0 :: deviceNode { 35 policy = 1; 36 priority = 40; 37 permission = 0644; 38 moduleName = "HDF_PLATFORM_UART"; 39 serviceName = "HDF_PLATFORM_UART_0"; 40 deviceMatchAttr = "goodix_gr55xx_uart_0"; 41 } 42 device1 :: deviceNode { 43 policy = 2; 44 permission = 0644; 45 priority = 40; 46 moduleName = "HDF_PLATFORM_UART"; 47 serviceName = "HDF_PLATFORM_UART_1"; 48 deviceMatchAttr = "goodix_gr55xx_uart_1"; 49 } 50 } 51 } 52 misc :: host { 53 hostName = "misc_host"; 54 priority = 50; 55 fs :: device { 56 littlefs :: deviceNode { 57 policy = 0; 58 priority = 100; 59 moduleName = "HDF_FS_LITTLEFS"; 60 deviceMatchAttr = "littlefs_config"; 61 } 62 } 63 } 64 } 65} 66