diff --git a/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts b/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts index a9f293851..174a7eb6f 100644 --- a/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts +++ b/patch/kernel/archive/rockchip64-6.12/dt/rk3399-am40.dts @@ -8,6 +8,7 @@ #include #include +#include #include "rk3399.dtsi" / { @@ -43,7 +44,8 @@ pinctrl-0 = <&pwr_led>; pwr-led { - label = "pwr-led"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; default-state = "on"; }; diff --git a/patch/kernel/archive/rockchip64-6.15/dt/rk3399-am40.dts b/patch/kernel/archive/rockchip64-6.15/dt/rk3399-am40.dts index a9f293851..174a7eb6f 100644 --- a/patch/kernel/archive/rockchip64-6.15/dt/rk3399-am40.dts +++ b/patch/kernel/archive/rockchip64-6.15/dt/rk3399-am40.dts @@ -8,6 +8,7 @@ #include #include +#include #include "rk3399.dtsi" / { @@ -43,7 +44,8 @@ pinctrl-0 = <&pwr_led>; pwr-led { - label = "pwr-led"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; default-state = "on"; }; diff --git a/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch b/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch index 16cad3019..f2646c791 100644 --- a/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch +++ b/patch/u-boot/v2025.04/board_smart-am40/add-board-smart-am40.patch @@ -94,10 +94,10 @@ index 00000000..8ea5266f +CONFIG_ERRNO_STR=y diff --git a/dts/upstream/src/arm64/rockchip/rk3399-am40.dts b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts new file mode 100644 -index 00000000..a9f29385 +index 00000000..174a7eb6 --- /dev/null +++ b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts -@@ -0,0 +1,776 @@ +@@ -0,0 +1,778 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. @@ -108,6 +108,7 @@ index 00000000..a9f29385 + +#include +#include ++#include +#include "rk3399.dtsi" + +/ { @@ -143,7 +144,8 @@ index 00000000..a9f29385 + pinctrl-0 = <&pwr_led>; + + pwr-led { -+ label = "pwr-led"; ++ function = LED_FUNCTION_POWER; ++ color = ; + gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; + default-state = "on"; + };