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 <ansuelsmth@gmail.com>
  • Loading branch information
Ansuel authored and robherring committed Nov 5, 2024
1 parent d41cf1e commit 3033f0b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dtschema/schemas/options/u-boot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,26 @@ 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:
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:
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 3033f0b

Please sign in to comment.