Add Radxa CM5 module and IO board dts
Subsystems (2)
v5 cover Add Radxa CM5 module and IO board dts
From: Joseph Kogut <[email protected]>
This patch series adds initial device tree support for the Radxa CM5 SoM and accompanying IO board.
V4 -> V5:
Patch (2/3), per Jimmy:
- Alias eMMC to mmc0
- Remove unused sdio alias
- Move gmac, hdmi0 nodes to carrier board dts
Patch (3/3), per Jimmy:
- Enable hdmi0_sound and i2s5_8ch
- Remove redundant enablement of sdhci
- Enable usb_host2_xhci
- Tested HDMI audio
V3 -> V4:
- Fixed XHCI initialization bug by changing try-power-role from source to sink
V2 -> V3:
- Addressed YAML syntax error in dt binding (per Rob)
- Fixed whitespace issue in dts reported by checkpatch.pl
- Split base SoM and carrier board into separate patches
- Added further details about the SoM and carrier to the commit messages
V1 -> V2:
- Added copyright header and data sheet links
- Removed non-existent property
- Sorted alphabetically
- Removed errant whitespace
- Moved status to the end of each node
- Removed pinctrl-names property from leds (indicated by CHECK_DTBS)
- Removed delays from gmac with internal delay
- Link to v4: https://lore.kernel.org/r/[email protected]
Joseph Kogut (3):
dt-bindings: arm: rockchip: Add Radxa CM5 IO board
arm64: dts: rockchip: Add rk3588 based Radxa CM5
arm64: dts: rockchip: Add support for CM5 IO carrier
.../devicetree/bindings/arm/rockchip.yaml | 7 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 486 ++++++++++++++++++ .../boot/dts/rockchip/rk3588s-radxa-cm5.dtsi | 135 +++++ 4 files changed, 629 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5.dtsi
Signature · 7 lines
2.43.0 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH RESEND v5 1/3 dt-bindings: arm: rockchip: Add Radxa CM5 IO board
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Add device tree binding for the Radxa CM5 IO board.
This board is based on the rk3588s.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +7 -0
@@ -907,6 +907,13 @@ properties: - const: radxa,cm3 - const: rockchip,rk3566 + - description: Radxa Compute Module 5 (CM5) + items: + - enum: + - radxa,cm5-io + - const: radxa,cm5 + - const: rockchip,rk3588s + - description: Radxa CM3 Industrial items: - enum:
Signature · 7 lines
2.43.0 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [RESEND PATCH v5 1/3] dt-bindings: arm: rockchip: Add Radxa CM5 IO board
Quoted 3 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Your patch got corrupted. Look at your git, it should not have any "From" parts.
Best regards,
Krzysztof
Re: [RESEND PATCH v5 1/3] dt-bindings: arm: rockchip: Add Radxa CM5 IO board
Hi Krzysztof,
Quoted 7 lines · Krzysztof Kozlowski
Quoted 3 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Your patch got corrupted. Look at your git, it should not have any "From" parts.
I just followed
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#from-line
I'm sure there is only one "From:" line in message body generated by git format-patch.
But, anyway, I'll resend patches without "From:" parts.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 3 lines
Best regards,
Krzysztof
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [RESEND PATCH v5 1/3] dt-bindings: arm: rockchip: Add Radxa CM5 IO board
Quoted 8 lines · FUKAUMI Naoki
Hi Krzysztof,
Quoted 5 lines · Krzysztof Kozlowski
Quoted 3 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Quoted 7 lines
Quoted 2 lines
Your patch got corrupted. Look at your git, it should not have any "From" parts.
I just followed
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#from-lineI'm sure there is only one "From:" line in message body generated by
There are two, check yourself. You would not have two From's in the email patch if you did not have two From's in the patch itself.
The doc above explains the patch for sending, not the git commit. They have differences, because From in the first case is actually Author in the second case.
Best regards,
Krzysztof
Re: [RESEND PATCH v5 1/3] dt-bindings: arm: rockchip: Add Radxa CM5 IO board
Hi Krzysztof,
Quoted 12 lines · Krzysztof Kozlowski
Quoted 11 lines · FUKAUMI Naoki
Hi Krzysztof,
Quoted 7 lines · Krzysztof Kozlowski
Quoted 3 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Your patch got corrupted. Look at your git, it should not have any "From" parts.
Quoted 7 lines
Quoted 4 lines
I just followed
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#from-lineI'm sure there is only one "From:" line in message body generated by
There are two, check yourself. You would not have two From's in the email patch if you did not have two From's in the patch itself.
Thank you for your valuable feedback. The patch had one From: line, and git send-email added another one. I will be careful not to include a From: line in the patch itself going forward.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 7 lines
The doc above explains the patch for sending, not the git commit. They have differences, because From in the first case is actually Author in the second case.
Best regards,
Krzysztof
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH RESEND v5 2/3 arm64: dts: rockchip: Add rk3588 based Radxa CM5
In reply to FUKAUMI NaokiFrom: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Add initial support for the Radxa Compute Module 5 (CM5). The CM5 uses a proprietary connector.
Specification:
- Rockchip RK3588
- Up to 32 GB LPDDR4X
- Up to 128 GB eMMC
- 1x HDMI TX up to 8k@60 hz
- 1x eDP TX up to 4k@60 hz
- Gigabit Ethernet PHY
--- .../boot/dts/rockchip/rk3588s-radxa-cm5.dtsi | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5.dtsi
arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5.dtsi new file +135 -0
@@ -0,0 +1,135 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2025 Joseph Kogut <[email protected]> + */ + +/* + * CM5 data sheet + * https://dl.radxa.com/cm5/v2210/radxa_cm5_v2210_schematic.pdf + */ + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> +#include <dt-bindings/soc/rockchip,vop2.h> +#include <dt-bindings/usb/pd.h> + +/ { + compatible = "radxa,cm5", "rockchip,rk3588s"; + + aliases { + mmc0 = &sdhci; + }; + + leds { + compatible = "gpio-leds"; + + led_sys: led-0 { + color = <LED_COLOR_ID_BLUE>; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +&cpu_b0 { + cpu-supply = <&vdd_cpu_big0_s0>; +}; + +&cpu_b1 { + cpu-supply = <&vdd_cpu_big0_s0>; +}; + +&cpu_b2 { + cpu-supply = <&vdd_cpu_big1_s0>; +}; + +&cpu_b3 { + cpu-supply = <&vdd_cpu_big1_s0>; +}; + +&cpu_l0 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l1 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l2 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l3 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&gpu { + mali-supply = <&vdd_gpu_s0>; + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0m2_xfer>; + status = "okay"; + + vdd_cpu_big0_s0: regulator@42 { + compatible = "rockchip,rk8602"; + reg = <0x42>; + fcs,suspend-voltage-selector = <1>; + regulator-name = "vdd_cpu_big0_s0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <1050000>; + regulator-ramp-delay = <2300>; + vin-supply = <&vcc5v0_sys>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_cpu_big1_s0: regulator@43 { + compatible = "rockchip,rk8602"; + reg = <0x43>; + fcs,suspend-voltage-selector = <1>; + regulator-name = "vdd_cpu_big1_s0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <1050000>; + regulator-ramp-delay = <2300>; + vin-supply = <&vcc5v0_sys>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; +}; + +&mdio1 { + rgmii_phy1: phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x1>; + }; +}; + +&pd_gpu { + domain-supply = <&vdd_gpu_s0>; +}; + +&sdhci { + bus-width = <8>; + no-sdio; + no-sd; + non-removable; + max-frequency = <200000000>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + mmc-hs200-1_8v; + status = "okay"; +}; +
Signature · 7 lines
2.43.0 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH RESEND v5 3/3 arm64: dts: rockchip: Add support for CM5 IO carrier
In reply to FUKAUMI NaokiFrom: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Specification:
- 1x HDMI
- 2x MIPI DSI
- 2x MIPI CSI
- 1x eDP
- 1x M.2 E key
- 1x USB 3.0 Host
- 1x USB 3.0 OTG
- 2x USB 2.0 Host
- Headphone jack w/ microphone
- Gigabit Ethernet w/ PoE
- microSD slot
- 40-pin expansion header
- 12V DC
---
Rebased on linux-next 20251201, no change.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 486 ++++++++++++++++++ 2 files changed, 487 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -210,6 +210,7 @@ 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-roc-pc.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-cm5-io.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5c.dtb
arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts new file +486 -0
486 lines not on this page · raw message
Signature · 7 lines
2.43.0 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [RESEND PATCH v5 3/3] arm64: dts: rockchip: Add support for CM5 IO carrier
Hi Naoki,
Thanks for the patch update!
Quoted 34 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Specification:
- 1x HDMI
- 2x MIPI DSI
- 2x MIPI CSI
- 1x eDP
- 1x M.2 E key
- 1x USB 3.0 Host
- 1x USB 3.0 OTG
- 2x USB 2.0 Host
- Headphone jack w/ microphone
- Gigabit Ethernet w/ PoE
- microSD slot
- 40-pin expansion header
- 12V DCSigned-off-by Joseph Kogut <[email protected]>Signed-off-by FUKAUMI Naoki <[email protected]>---
Rebased on linux-next 20251201, no change.--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 486 ++++++++++++++++++ 2 files changed, 487 insertions(+)create mode 100644
arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dtsarch/arm64/boot/dts/rockchip/Makefile +0
-0
arch/arm64/boot/dts/rockchip/Makefile dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtb · line 215
Quoted 6 lines
arch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -210,6 +210,7 @@ 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-roc-pc.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-cm5-io.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5c.dtb
Small nitpick...
The file names are alphanumerically ordered in this file. You should have rk3588s-radxa-cm5-io.dtb before rk3588s-roc-pc.dtb.
Cheers
Michael.
Signature · 10 lines
Michael Opdenacker Root Commit Yocto Project and OpenEmbedded Training course - Learn by doing: https://rootcommit.com/training/yocto/ _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [RESEND PATCH v5 3/3] arm64: dts: rockchip: Add support for CM5 IO carrier
Hi Michael,
Quoted 34 lines · Michael Opdenacker
Hi Naoki,
Thanks for the patch update!
Quoted 29 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
From: Joseph Kogut <[email protected]>
Specification:
- 1x HDMI
- 2x MIPI DSI
- 2x MIPI CSI
- 1x eDP
- 1x M.2 E key
- 1x USB 3.0 Host
- 1x USB 3.0 OTG
- 2x USB 2.0 Host
- Headphone jack w/ microphone
- Gigabit Ethernet w/ PoE
- microSD slot
- 40-pin expansion header
- 12V DCSigned-off-by Joseph Kogut <[email protected]>Signed-off-by FUKAUMI Naoki <[email protected]>---
Rebased on linux-next 20251201, no change.
---
arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 486 ++++++++++++++++++2 files changed, 487 insertions(+)create mode 100644
arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts
Quoted 15 lines
Quoted 11 lines
arch/arm64/boot/dts/rockchip/Makefile +0
-0@@ -210,6 +210,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtbdtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-roc-pc.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-radxa-cm5-io.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5c.dtb
Small nitpick...
The file names are alphanumerically ordered in this file. You should have rk3588s-radxa-cm5-io.dtb before rk3588s-roc-pc.dtb.
Sorry, it was my mistake while rebasing to linux-next. I'll resend this patch series with this correction.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 3 lines
Cheers
Michael.
Hi all,
I got the following email,
Quoted 3 lines · (Exiting) Krzysztof Kozlowski
Thank you for your email.
Krzysztof Kozlowski no longer works for Linaro.
(snip)
I'll resend this patch series with the correct email address. I apologize for the inconvenience.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 52 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
This patch series adds initial device tree support for the Radxa CM5 SoM and accompanying IO board.
V4 -> V5:
Patch (2/3), per Jimmy:
- Alias eMMC to mmc0
- Remove unused sdio alias
- Move gmac, hdmi0 nodes to carrier board dtsPatch (3/3), per Jimmy:
- Enablehdmi0_soundandi2s5_8ch
- Remove redundant enablement of sdhci
- Enableusb_host2_xhci- Tested HDMI audio
V3 -> V4:
- Fixed XHCI initialization bug by changing try-power-role from source to sinkV2 -> V3:
- Addressed YAML syntax error in dt binding (per Rob)
- Fixed whitespace issue in dts reported by checkpatch.pl
- Split base SoM and carrier board into separate patches
- Added further details about the SoM and carrier to the commit messagesV1 -> V2:
- Added copyright header and data sheet links
- Removed non-existent property
- Sorted alphabetically
- Removed errant whitespace
- Moved status to the end of each node
- Removed pinctrl-names property from leds (indicated byCHECK_DTBS)
- Removed delays from gmac with internal delay- Link to v4: https://lore.kernel.org/r/[email protected]
Joseph Kogut (3):
dt-bindings: arm: rockchip: Add Radxa CM5 IO board
arm64: dts: rockchip: Add rk3588 based Radxa CM5
arm64: dts: rockchip: Add support for CM5 IO carrier.../devicetree/bindings/arm/rockchip.yaml | 7 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 486 ++++++++++++++++++ .../boot/dts/rockchip/rk3588s-radxa-cm5.dtsi | 135 +++++ 4 files changed, 629 insertions(+)create mode 100644
arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dtscreate mode 100644arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5.dtsi
Sorry,
I checked shell history, and I sent email to "[email protected]", not "[email protected]".
I will not resend this patch series.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 73 lines · FUKAUMI Naoki
Hi all,
I got the following email,
Quoted 3 lines · (Exiting) Krzysztof Kozlowski
Thank you for your email.
Krzysztof Kozlowski no longer works for Linaro.
(snip)
I'll resend this patch series with the correct email address. I apologize for the inconvenience.
Best regards,
Signature · 2 lines
FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd.Quoted 53 lines · FUKAUMI Naoki
From: Joseph Kogut <[email protected]>
This patch series adds initial device tree support for the Radxa CM5 SoM and accompanying IO board.
V4 -> V5:
Patch (2/3), per Jimmy:
- Alias eMMC to mmc0
- Remove unused sdio alias
- Move gmac, hdmi0 nodes to carrier board dtsPatch (3/3), per Jimmy:
- Enablehdmi0_soundandi2s5_8ch
- Remove redundant enablement of sdhci
- Enableusb_host2_xhci- Tested HDMI audio
V3 -> V4:
- Fixed XHCI initialization bug by changing try-power-role from source to sinkV2 -> V3:
- Addressed YAML syntax error in dt binding (per Rob)
- Fixed whitespace issue in dts reported by checkpatch.pl
- Split base SoM and carrier board into separate patches
- Added further details about the SoM and carrier to the commit messagesV1 -> V2:
- Added copyright header and data sheet links
- Removed non-existent property
- Sorted alphabetically
- Removed errant whitespace
- Moved status to the end of each node
- Removed pinctrl-names property from leds (indicated byCHECK_DTBS)
- Removed delays from gmac with internal delay- Link to v4: https://lore.kernel.org/r/20250605-rk3588s-cm5-io-dts-
[email protected]Joseph Kogut (3):
dt-bindings: arm: rockchip: Add Radxa CM5 IO board
arm64: dts: rockchip: Add rk3588 based Radxa CM5
arm64: dts: rockchip: Add support for CM5 IO carrier.../devicetree/bindings/arm/rockchip.yaml | 7 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 486 ++++++++++++++++++ .../boot/dts/rockchip/rk3588s-radxa-cm5.dtsi | 135 +++++
4 files changed, 629 insertions(+)create mode 100644
arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dtscreate mode 100644arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5.dtsi