1root { 2 device_info { 3 match_attr = "hdf_manager"; 4 template host { 5 hostName = ""; 6 priority = 5; 7 template device { 8 template deviceNode { 9 policy = 0; 10 priority = 5; 11 preload = 0; 12 permission = 0664; 13 moduleName = ""; 14 serviceName = ""; 15 deviceMatchAttr = ""; 16 } 17 } 18 } 19 20 platform :: host { 21 hostName = "platform_host"; 22 priority = 5; 23 24 device_gpio :: device { 25 device0 :: deviceNode { 26 policy = 0; 27 priority = 5; 28 permission = 0644; 29 moduleName = "HDF_PLATFORM_GPIO"; 30 serviceName = "HDF_PLATFORM_GPIO"; 31 deviceMatchAttr = "rockchip_rk2206_gpio"; 32 } 33 } 34 35 device_i2c :: device { 36 device0 :: deviceNode { 37 policy = 2; 38 priority = 5; 39 permission = 0644; 40 moduleName = "HDF_PLATFORM_I2C"; 41 serviceName = "HDF_PLATFORM_I2C"; 42 deviceMatchAttr = "rockchip_rk2206_i2c0"; 43 } 44 } 45 46 device_spi :: device { 47 device0 :: deviceNode { 48 policy = 1; 49 priority = 5; 50 permission = 0644; 51 moduleName = "HDF_PLATFORM_SPI"; 52 serviceName = "HDF_PLATFORM_SPI_0"; 53 deviceMatchAttr = "rockchip_rk2206_spi_0"; 54 } 55 } 56 57 device_fs :: device { 58 device0 :: deviceNode { 59 policy = 0; 60 priority = 5; 61 permission = 0777; 62 moduleName = "HDF_PLATFORM_FS_LITTLEFS"; 63 serviceName = "littlefs_config"; 64 deviceMatchAttr = "rockchip_rk2206_fs_littlefs"; 65 } 66 } 67 } 68 } 69} 70