File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
u-boot/v2025.04/board_smart-am40 Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 88
99#include <dt-bindings/input/linux-event-codes.h>
1010#include <dt-bindings/pwm/pwm.h>
11+ #include <dt-bindings/leds/common.h>
1112#include "rk3399.dtsi"
1213
1314/ {
4344 pinctrl-0 = <&pwr_led>;
4445
4546 pwr-led {
46- label = "pwr-led";
47+ function = LED_FUNCTION_POWER;
48+ color = <LED_COLOR_ID_YELLOW>;
4749 gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
4850 default-state = "on";
4951 };
Original file line number Diff line number Diff line change 88
99#include <dt-bindings/input/linux-event-codes.h>
1010#include <dt-bindings/pwm/pwm.h>
11+ #include <dt-bindings/leds/common.h>
1112#include "rk3399.dtsi"
1213
1314/ {
4344 pinctrl-0 = <&pwr_led>;
4445
4546 pwr-led {
46- label = "pwr-led";
47+ function = LED_FUNCTION_POWER;
48+ color = <LED_COLOR_ID_YELLOW>;
4749 gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
4850 default-state = "on";
4951 };
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ index 00000000..8ea5266f
9494+ CONFIG_ERRNO_STR=y
9595diff --git a/dts/upstream/src/arm64/rockchip/rk3399-am40.dts b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts
9696new file mode 100644
97- index 00000000..a9f29385
97+ index 00000000..174a7eb6
9898--- /dev/null
9999+++ b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts
100- @@ -0,0 +1,776 @@
100+ @@ -0,0 +1,778 @@
101101+ // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
102102+ /*
103103+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
@@ -108,6 +108,7 @@ index 00000000..a9f29385
108108+
109109+ #include <dt-bindings/input/linux-event-codes.h>
110110+ #include <dt-bindings/pwm/pwm.h>
111+ + #include <dt-bindings/leds/common.h>
111112+ #include "rk3399.dtsi"
112113+
113114+ / {
@@ -143,7 +144,8 @@ index 00000000..a9f29385
143144+ pinctrl-0 = <&pwr_led>;
144145+
145146+ pwr-led {
146- + label = "pwr-led";
147+ + function = LED_FUNCTION_POWER;
148+ + color = <LED_COLOR_ID_YELLOW>;
147149+ gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
148150+ default-state = "on";
149151+ };
You can’t perform that action at this time.
0 commit comments