Skip to contentSkip to conversation

Add support for Orange Pi 5 Pro

PATCH In review [email protected] 4 participants 11 messages Feb 28 – Mar 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Add support for Orange Pi 5 Pro

From: Dennis Gilmore <[email protected]>

This series adds initial support for Orange Pi 5 Pro. The network driver was just added. The only thing missing is the second HDMI port that is connected via a DP to HDMI adaptor

The series was tested against Linux 7.0-rc1

Please take a look.

Thank you,

Dennis Gilmore

Dennis Gilmore (2):
dt-bindings: arm: rockchip: Add Orange Pi 5 Pro
arm64: dts: rockchip: Add Orange Pi 5 Pro board support

 .../devicetree/bindings/arm/rockchip.yaml     |   1 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588s-orangepi-5-pro.dts   | 376 ++++++++++++++++++
 3 files changed, 378 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts
Signature · 1 line
2.53.0
#1 lore raw

PATCH 1/2 dt-bindings: arm: rockchip: Add Orange Pi 5 Pro

From: Dennis Gilmore <[email protected]>

Add compatible string for the Orange Pi 5 Pro.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +1 -0
index ae77ded9fe47..3c6b83a84463 100644
@@ -1320,6 +1320,7 @@ properties:
         items:
           - enum:
               - xunlong,orangepi-5
+              - xunlong,orangepi-5-pro
               - xunlong,orangepi-5b
           - const: rockchip,rk3588s
 
Signature · 1 line
2.53.0
Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Orange Pi 5 Pro

Quoted 8 lines · On Sat, Feb 28, 2026 at 02:54:16PM -0600, [email protected] wrote:

From: Dennis Gilmore <[email protected]>

Add compatible string for the Orange Pi 5 Pro.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)

Best regards,
Krzysztof

#3 lore raw

PATCH 2/2 arm64: dts: rockchip: Add Orange Pi 5 Pro board support

In reply to [email protected]

From: Dennis Gilmore <[email protected]>

Add device tree for the Xunlong Orange Pi 5 Pro (RK3588S). The Pro differs from the base Orange Pi 5 in the following ways:

- No SPI NOR flash; eMMC module slot instead, you can optionally solder a SPI NOR fin place and turn off the eMMC
- PCIe-attached NIC (pcie2x1l1) replaces the GMAC1 ethernet
- PCIe NVMe slot (pcie2x1l2)
- AP6256 WiFi (BCM43456) via SDIO with mmc-pwrseq
- BCM4345C5 Bluetooth via uart9 with full RTS/CTS
- Two-colour (blue/green) GPIO LED using modern color/function binding
- audio is wired up differently

Vendors description and links to schematics available:
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-Pro.html

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588s-orangepi-5-pro.dts   | 376 ++++++++++++++++++
 2 files changed, 377 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 4d384f153c13..c99dca2ae9e7 100644
@@ -214,6 +214,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5b.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5-pro.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-cm5-base.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-cm5-io.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-roc-pc.dtb
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +376 -0

376 lines not on this page · raw message

Signature · 1 line
2.53.0
maintainer
#4 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

Hi Dennis,

Am Samstag, 28. Februar 2026, 21:54:17 Mitteleuropäische Normalzeit schrieb [email protected]:

Quoted 57 lines

From: Dennis Gilmore <[email protected]>

Add device tree for the Xunlong Orange Pi 5 Pro (RK3588S). The Pro differs from the base Orange Pi 5 in the following ways:

- No SPI NOR flash; eMMC module slot instead, you can optionally solder a SPI NOR fin place and turn off the eMMC
- PCIe-attached NIC (pcie2x1l1) replaces the GMAC1 ethernet
- PCIe NVMe slot (pcie2x1l2)
- AP6256 WiFi (BCM43456) via SDIO with mmc-pwrseq
- BCM4345C5 Bluetooth via uart9 with full RTS/CTS
- Two-colour (blue/green) GPIO LED using modern color/function binding
- audio is wired up differently

Vendors description and links to schematics available:
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-Pro.html

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588s-orangepi-5-pro.dts   | 376 ++++++++++++++++++
 2 files changed, 377 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 4d384f153c13..c99dca2ae9e7 100644
@@ -214,6 +214,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5b.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5-pro.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-cm5-base.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-cm5-io.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-roc-pc.dtb
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +15 -0
new file mode 100644
index 000000000000..d656328c906d
@@ -0,0 +1,376 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+
+#include "rk3588s-orangepi-5.dtsi"
+
+/ {
+	model = "Xunlong Orange Pi 5 Pro";
+	compatible = "xunlong,orangepi-5-pro", "rockchip,rk3588s";
+
+	aliases {
+		/delete-property/ ethernet0;
+		mmc0 = &sdhci;
+		mmc1 = &sdmmc;
+		mmc2 = &sdio;

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 25

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+	};
+
+	/* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+	/delete-node/ pwm-leds;
+
+	/*
+	 * Pro uses i2s2 (i2s2m1 mux) for audio, not i2s1. Recreate the sound
+	 * card node pointing at i2s2_2ch instead.
+	 */
+	/delete-node/ analog-sound;

I think it would make more sense to move the relevant not-shared part out of the dtsi instead. Yes the duplication in orangepi-5 and orangepi-5b should be fine.

Having a devicetree with so many /delete-node/ and /delete-property/ elements sprinkled throughout the file, will definitly cause readability (and handling issues) in the future.

Additionally this makes all the comments in the file explaining individual difference unnecessary.

Thanks
Heiko

#5 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

Quoted 80 lines · Heiko Stuebner

Hi Dennis,

Am Samstag, 28. Februar 2026, 21:54:17 Mitteleuropäische Normalzeit schrieb [email protected]:

Quoted 57 lines

From: Dennis Gilmore <[email protected]>

Add device tree for the Xunlong Orange Pi 5 Pro (RK3588S). The Pro differs from the base Orange Pi 5 in the following ways:

- No SPI NOR flash; eMMC module slot instead, you can optionally solder a SPI NOR fin place and turn off the eMMC
- PCIe-attached NIC (pcie2x1l1) replaces the GMAC1 ethernet
- PCIe NVMe slot (pcie2x1l2)
- AP6256 WiFi (BCM43456) via SDIO with mmc-pwrseq
- BCM4345C5 Bluetooth via uart9 with full RTS/CTS
- Two-colour (blue/green) GPIO LED using modern color/function binding
- audio is wired up differently

Vendors description and links to schematics available:
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-Pro.html

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588s-orangepi-5-pro.dts   | 376 ++++++++++++++++++
 2 files changed, 377 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 4d384f153c13..c99dca2ae9e7 100644
@@ -214,6 +214,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5b.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5-pro.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-cm5-base.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-cm5-io.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-roc-pc.dtb
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +15 -0
new file mode 100644
index 000000000000..d656328c906d
@@ -0,0 +1,376 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+
+#include "rk3588s-orangepi-5.dtsi"
+
+/ {
+     model = "Xunlong Orange Pi 5 Pro";
+     compatible = "xunlong,orangepi-5-pro", "rockchip,rk3588s";
+
+     aliases {
+             /delete-property/ ethernet0;
+             mmc0 = &sdhci;
+             mmc1 = &sdmmc;
+             mmc2 = &sdio;

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 25

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+     };
+
+     /* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+     /delete-node/ pwm-leds;
+
+     /*
+      * Pro uses i2s2 (i2s2m1 mux) for audio, not i2s1. Recreate the sound
+      * card node pointing at i2s2_2ch instead.
+      */
+     /delete-node/ analog-sound;

I think it would make more sense to move the relevant not-shared part out of the dtsi instead. Yes the duplication in orangepi-5 and orangepi-5b should be fine.

Having a devicetree with so many /delete-node/ and /delete-property/ elements sprinkled throughout the file, will definitly cause readability (and handling issues) in the future.

Quoted 7 lines

Additionally this makes all the comments in the file explaining individual difference unnecessary.

Thanks
Heiko

Hi Dennis,

You could follow the pattern that was used for the full RK3588 Orange Pi 5 boards.
The Orange Pi 5 Max and Ultra are very similar, so they both share a DTSI. However, the parts that are also common with the Orange Pi 5 Plus are put into a common DTSI that is used by all 3 boards.

So for these RK3588s Orange Pi 5 boards, you could refactor the existing DTSI to separate the parts that are only used by the older DDR4 Orange Pi 5 and 5B, from the parts that are common to all 3 boards.

To verify the existing Orange Pi 5 and 5B boards DTBs are not damaged, you should be able to convert the DTBs to DTSs before refactoring as a baseline, and then after the refactoring, convert the DTBs to DTSs and compare with the baseline.

As an example of the delete-node/delete-property leading to problems in the future is when DisplayPort AltMode is added to the 5 and 5B. The new properties will be inherited into the 5 Pro device tree, when they are not wanted.

Jimmy

#6 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

In reply to [email protected]

Hi Dennis,

Some curiosities below,

On Sat, Feb 28, 2026 at 2:54 PM <[email protected]> wrote:
<snip>

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+
+       /* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+       /delete-node/ pwm-leds;

<snip>

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 75

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&leds_rgb>;
+
+               blue-led {
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_STATUS;
+                       gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C6 is muxed with PWM15_IR_M2

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 82

Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +7 -0
+                       linux,default-trigger = "heartbeat";
+               };
+
+               green-led {
+                       color = <LED_COLOR_ID_GREEN>;
+                       function = LED_FUNCTION_ACTIVITY;
+                       gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C2 is muxed with PWM3_IR_M2.

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 85

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+                       linux,default-trigger = "mmc0";
+               };
+       };

Jimmy

#7 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

Quoted 11 lines · Jimmy Hon

Hi Dennis,

Some curiosities below,

On Sat, Feb 28, 2026 at 2:54 PM <[email protected]> wrote:
<snip>

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+
+       /* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+       /delete-node/ pwm-leds;

<snip>

Quoted 12 lines

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 75

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&leds_rgb>;
+
+               blue-led {
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_STATUS;
+                       gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C6 is muxed with PWM15_IR_M2

the downstream dts uses gpio-leds the GPIO comes from the schematic

Quoted 9 lines

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 82

Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +7 -0
+                       linux,default-trigger = "heartbeat";
+               };
+
+               green-led {
+                       color = <LED_COLOR_ID_GREEN>;
+                       function = LED_FUNCTION_ACTIVITY;
+                       gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C2 is muxed with PWM3_IR_M2.

Again, the downstream dts uses gpio-leds

Dennis

Quoted 5 lines

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 85

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+                       linux,default-trigger = "mmc0";
+               };
+       };

Jimmy

#8 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

Quoted 26 lines · Dennis Gilmore
Quoted 11 lines · Jimmy Hon

Hi Dennis,

Some curiosities below,

On Sat, Feb 28, 2026 at 2:54 PM <[email protected]> wrote:
<snip>

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+
+       /* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+       /delete-node/ pwm-leds;

<snip>

Quoted 12 lines

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 75

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&leds_rgb>;
+
+               blue-led {
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_STATUS;
+                       gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C6 is muxed with PWM15_IR_M2

Quoted 1 line

the downstream dts uses gpio-leds the GPIO comes from the schematic

It should be fine to upgrade to pwm-leds when adding into mainline. The Orange 5 Plus did.
In the downstream DTS, they used gpio-led for the green led
https://github.com/orangepi-xunlong/linux-orangepi/blob/232ed4b97b65da2b7b647c4e3c496f8594b9f3f1/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts#L31-L36
But in the mainline kernel, it was converted to use pwm-led.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts?id=236d225e1ee72a28aa7c2b1e39894e4390bbf51c

Jimmy

#9 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

Quoted 29 lines · Jimmy Hon
Quoted 26 lines · Dennis Gilmore
Quoted 11 lines · Jimmy Hon

Hi Dennis,

Some curiosities below,

On Sat, Feb 28, 2026 at 2:54 PM <[email protected]> wrote:
<snip>

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+
+       /* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+       /delete-node/ pwm-leds;

<snip>

Quoted 12 lines

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 75

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&leds_rgb>;
+
+               blue-led {
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_STATUS;
+                       gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C6 is muxed with PWM15_IR_M2

Quoted 1 line

the downstream dts uses gpio-leds the GPIO comes from the schematic

Quoted 8 lines

It should be fine to upgrade to pwm-leds when adding into mainline. The Orange 5 Plus did.
In the downstream DTS, they used gpio-led for the green led
https://github.com/orangepi-xunlong/linux-orangepi/blob/232ed4b97b65da2b7b647c4e3c496f8594b9f3f1/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts#L31-L36
But in the mainline kernel, it was converted to use pwm-led.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts?id=236d225e1ee72a28aa7c2b1e39894e4390bbf51c

Jimmy

Is there a reason the blue led was not converted from GPIO to PWM, and only the green led was?

Dennis

#10 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: Add Orange Pi 5 Pro board support

Quoted 38 lines · Dennis Gilmore
Quoted 36 lines · Jimmy Hon
Quoted 26 lines · Dennis Gilmore
Quoted 11 lines · Jimmy Hon

Hi Dennis,

Some curiosities below,

On Sat, Feb 28, 2026 at 2:54 PM <[email protected]> wrote:
<snip>

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +3 -0
+
+       /* Pro uses gpio-leds instead; pwm0 LED is not wired up */
+       /delete-node/ pwm-leds;

<snip>

Quoted 12 lines

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts line 75

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts new file +10 -0
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&leds_rgb>;
+
+               blue-led {
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_STATUS;
+                       gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;

How come you decided gpio-leds instead of pwm-leds for this? GPIO1 C6 is muxed with PWM15_IR_M2

Quoted 1 line

the downstream dts uses gpio-leds the GPIO comes from the schematic

It should be fine to upgrade to pwm-leds when adding into mainline. The Orange 5 Plus did.
In the downstream DTS, they used gpio-led for the green led
https://github.com/orangepi-xunlong/linux-orangepi/blob/232ed4b97b65da2b7b647c4e3c496f8594b9f3f1/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts#L31-L36
But in the mainline kernel, it was converted to use pwm-led.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts?id=236d225e1ee72a28aa7c2b1e39894e4390bbf51c

Quoted 4 lines
Quoted 1 line

Jimmy

Is there a reason the blue led was not converted from GPIO to PWM, and only the green led was?

There is no PWM muxed with GPIO3 A6. So the only option is GPIO.

Jimmy

Quoted 2 lines

Dennis