summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2023-08-22 17:30:47 +0300
committerTony Lindgren <tony@atomide.com>2023-09-26 10:21:31 +0300
commit909ed2f52a06ac65d397e6c9efdba3a6260cb0b5 (patch)
treece2a7ecbf66d36e27719600377570ca64756ee88 /arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts
parent05ee882d396f0468882c2f47b3428884d2cd3f09 (diff)
downloadlinux-909ed2f52a06ac65d397e6c9efdba3a6260cb0b5.tar.xz
ARM: dts: am335x-pocketbeagle: update LED information
Add the "color" and "description" properties. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Message-ID: <20230822143051.7640-2-twoerner@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts')
-rw-r--r--arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts b/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts
index 5dfe4d4bab93..667dded1a167 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts
@@ -8,6 +8,7 @@
#include "am33xx.dtsi"
#include "am335x-osd335x-common.dtsi"
+#include <dt-bindings/leds/common.h>
/ {
model = "TI AM335x PocketBeagle";
@@ -25,6 +26,8 @@
led-usr0 {
label = "beaglebone:green:usr0";
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_HEARTBEAT;
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
@@ -32,6 +35,8 @@
led-usr1 {
label = "beaglebone:green:usr1";
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_DISK_ACTIVITY;
gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
@@ -39,6 +44,8 @@
led-usr2 {
label = "beaglebone:green:usr2";
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_CPU;
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "cpu0";
default-state = "off";
@@ -46,6 +53,8 @@
led-usr3 {
label = "beaglebone:green:usr3";
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_INDICATOR;
gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
default-state = "off";
};