10a7ce71fSopenharmony_ciroot { 20a7ce71fSopenharmony_ci lightConfig { 30a7ce71fSopenharmony_ci boardConfig { 40a7ce71fSopenharmony_ci match_attr = "hdf_light_driver"; 50a7ce71fSopenharmony_ci lightAttr { 60a7ce71fSopenharmony_ci light01 { 70a7ce71fSopenharmony_ci lightId = [1]; /* Lightid can contain multiple logical light ID, for example: 80a7ce71fSopenharmony_ci 1 indicates the power indicator. These logic lights work on 90a7ce71fSopenharmony_ci the same physical light light01. */ 100a7ce71fSopenharmony_ci lightName = "battery"; 110a7ce71fSopenharmony_ci lightNumber = 1; 120a7ce71fSopenharmony_ci busRNum = 31; // Red corresponding GPIO. 130a7ce71fSopenharmony_ci busGNum = 30; // Green corresponding GPIO. 140a7ce71fSopenharmony_ci busBNum = 29; // Blue corresponding GPIO. 150a7ce71fSopenharmony_ci defaultBrightness = 0X00FFFFFF; /* System default brightness value. 160a7ce71fSopenharmony_ci B: 0-7bit, R: 8-15bit, G: 16-23, extended bit: 24-31bit. */ 170a7ce71fSopenharmony_ci onTime = 50; /* The minimum duration (in milliseconds) that the system supports 180a7ce71fSopenharmony_ci when the light is on during flashing */ 190a7ce71fSopenharmony_ci offTime = 50; /* The minimum duration (in milliseconds) that the system supports 200a7ce71fSopenharmony_ci when the light is off during flashing */ 210a7ce71fSopenharmony_ci } 220a7ce71fSopenharmony_ci } 230a7ce71fSopenharmony_ci } 240a7ce71fSopenharmony_ci } 250a7ce71fSopenharmony_ci}