Re: [PATCH v3 3/3] arm64:?==?utf-8?q? dts: rockchip: Remove default-state = "off" from LEDs for Radxa boards
Dragan Simic
dsimic at manjaro.org
Thu Nov 13 20:20:50 PST 2025
Hello Naoki,
On Thursday, November 13, 2025 13:42 CET, FUKAUMI Naoki <naoki at radxa.com> wrote:
> Currently, on Radxa boards, the power LED is turned on immediately
> after power-up, independent of software control. The heartbeat LED and
> other available LEDs are subsequently turned on by the initial
> software, such as U-Boot, to indicate software is running.
>
> However, the device tree description for this behavior is inconsistent
> and fragmented, with definitions split between the main Linux DTS
> files and separate U-Boot files (u-boot/arch/arm/dts/*-u-boot.dtsi).
I'm sorry, but the two paragraphs above seem to be redundant and
should be deleted, because they actually don't help with describing
what this patch attempts to achieve.
> This patch addresses inconsistency by removing redundant default-state
> = "off" definitions, as this is already the default configuration.
Mentioning inconsistency here also seems redundant.
> Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
> ---
> arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts | 2 --
> arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts b/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts
> index b324527561558..79d316a1d8495 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts
> @@ -62,7 +62,6 @@ leds {
>
> led-lan {
> color = <LED_COLOR_ID_GREEN>;
> - default-state = "off";
> function = LED_FUNCTION_LAN;
> gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
> linux,default-trigger = "netdev";
> @@ -78,7 +77,6 @@ led-sys {
>
> led-wan {
> color = <LED_COLOR_ID_GREEN>;
> - default-state = "off";
> function = LED_FUNCTION_WAN;
> gpios = <&gpio4 RK_PC0 GPIO_ACTIVE_HIGH>;
> linux,default-trigger = "netdev";
> diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
> index 854c118418eb8..f737769d4a007 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
> @@ -71,7 +71,6 @@ leds-1 {
>
> led-1 {
> color = <LED_COLOR_ID_GREEN>;
> - default-state = "off";
> function = LED_FUNCTION_LAN;
> linux,default-trigger = "netdev";
> pwms = <&pwm14 0 1000000 PWM_POLARITY_INVERTED>;
> @@ -80,7 +79,6 @@ led-1 {
>
> led-2 {
> color = <LED_COLOR_ID_GREEN>;
> - default-state = "off";
> function = LED_FUNCTION_WAN;
> linux,default-trigger = "netdev";
> pwms = <&pwm11 0 1000000 PWM_POLARITY_INVERTED>;
Removing the properties that introduce the default values is fine,
so with the remarks above addressed, please feel free to include
Reviewed-by: Dragan Simic <dsimic at manjaro.org>
More information about the Linux-rockchip
mailing list