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 phandle to an LED 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 Nov 4, 2024
1 parent 577c1ab commit 13d354c
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/phandle
description: |
This is used to specify a phandle to an LED to indicate a successful boot.
boot-led-period-ms:
$ref: /schemas/types.yaml#/definitions/uint32
default: 250
description: |
This is used to specify the default period (in ms) for an LED in blink mode.
activity-led:
$ref: /schemas/types.yaml#/definitions/phandle
description: |
This is used to specify a phandle to an LED to indicate an activity.
activity-led-period-ms:
$ref: /schemas/types.yaml#/definitions/uint32
default: 250
description: |
This is used to specify the default period (in ms) for an LED in blink mode.
required:
- compatible

Expand Down

0 comments on commit 13d354c

Please sign in to comment.