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