Skip to content

Commit

Permalink
dt-bindings: u-boot: Add property for LED boot and activity
Browse files Browse the repository at this point in the history
Add property for LED boot and activity and period for blink mode.

These property define the LED label to use for the u-boot boot or
activity LED to signal successful boot or activity like flash write or
tftp traffic.

Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
Ansuel committed Sep 20, 2024
1 parent 577c1ab commit dba01af
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions dtschema/schemas/options/u-boot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,28 @@ properties:
enabled)
2: console output is suppressed and not recorded
boot-led:
$ref: /schemas/types.yaml#/definitions/string
description: |
This is used to specify the label for an LED to indicate a successful boot.
boot-led-period:
$ref: /schemas/types.yaml#/definitions/uint32
default: 250
description: |
This is used to specify the default period for an LED in blink mode.
activity-led:
$ref: /schemas/types.yaml#/definitions/string
description: |
This is used to specify the label for an LED to indicate an activity.
activity-led-period:
$ref: /schemas/types.yaml#/definitions/uint32
default: 250
description: |
This is used to specify the default period for an LED in blink mode.
required:
- compatible

Expand Down

0 comments on commit dba01af

Please sign in to comment.