arm64: dts: rockchip: Add Hardkernel ODROID-M2
Subsystems (2)
cover arm64: dts: rockchip: Add Hardkernel ODROID-M2
This series add initial support for the Hardkernel ODROID-M2 board.
The Hardkernel ODROID-M2 is a single-board computer based on Rockchip RK3588S2 SoC. It features e.g. 8/16 GB LPDDR5 RAM, 64 GB eMMC, SD-card, GbE LAN, HDMI 2.0, M.2 NVMe and USB 2.0/3.0/Type-C.
Schematics for ODROID-M2 can be found at:
https://wiki.odroid.com/_media/odroid-m2/hardware/m2_main_rev1.0_240611.pdf
The device tree was created based on the schematics with regulator voltage values adjusted to closer match vendor downstream device tree.
Testing was done booting into Linux using mainline U-Boot from [1], a test build of mainline U-Boot for ODROID-M2 can be found at [2].
U-Boot patches will be sent once DT reach the devicetree-rebasing tree.
[1] https://github.com/Kwiboo/u-boot-rockchip/commits/rk3xxx-2024.10/
[2] https://github.com/Kwiboo/u-boot-build/actions/runs/10653436524
Jonas Karlman (2):
dt-bindings: arm: rockchip: Add Hardkernel ODROID-M2
arm64: dts: rockchip: Add Hardkernel ODROID-M2
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3588s-odroid-m2.dts | 903 ++++++++++++++++++ 3 files changed, 909 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts
Signature · 1 line
2.46.0
PATCH 1/2 dt-bindings: arm: rockchip: Add Hardkernel ODROID-M2
The Hardkernel ODROID-M2 is a single-board computer based on Rockchip RK3588S2 SoC. It features e.g. 8/16 GB LPDDR5 RAM, 64 GB eMMC, SD-card, GbE LAN, HDMI 2.0, M.2 NVMe and USB 2.0/3.0/Type-C.
Add devicetree binding documentation for the Hardkernel ODROID-M2 board.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -605,6 +605,11 @@ properties: - const: hardkernel,odroid-m1s - const: rockchip,rk3566 + - description: Hardkernel Odroid M2 + items: + - const: hardkernel,odroid-m2 + - const: rockchip,rk3588s + - description: Hugsun X99 TV Box items: - const: hugsun,x99
Signature · 1 line
2.46.0
Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Hardkernel ODROID-M2
Quoted 8 lines · Jonas Karlman
The Hardkernel ODROID-M2 is a single-board computer based on Rockchip RK3588S2 SoC. It features e.g. 8/16 GB LPDDR5 RAM, 64 GB eMMC, SD-card, GbE LAN, HDMI 2.0, M.2 NVMe and USB 2.0/3.0/Type-C.
Add devicetree binding documentation for the Hardkernel ODROID-M2 board.
Signed-off-by Jonas Karlman <[email protected]>---
Best regards,
Krzysztof
PATCH 2/2 arm64: dts: rockchip: Add Hardkernel ODROID-M2
In reply to Jonas KarlmanThe Hardkernel ODROID-M2 is a single-board computer based on Rockchip RK3588S2 SoC. It features e.g. 8/16 GB LPDDR5 RAM, 64 GB eMMC, SD-card, GbE LAN, HDMI 2.0, M.2 NVMe and USB 2.0/3.0/Type-C.
Add initial support for eMMC, SD-card, Ethernet, PCIe and USB.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3588s-odroid-m2.dts | 903 ++++++++++++++++++ 2 files changed, 904 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -151,4 +151,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb
arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts new file +903 -0
903 lines not on this page · raw message
Signature · 7 lines
2.46.0 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Rob Herring (Arm)
maintainerQuoted 24 lines · Jonas Karlman
This series add initial support for the Hardkernel ODROID-M2 board.
The Hardkernel ODROID-M2 is a single-board computer based on Rockchip RK3588S2 SoC. It features e.g. 8/16 GB LPDDR5 RAM, 64 GB eMMC, SD-card, GbE LAN, HDMI 2.0, M.2 NVMe and USB 2.0/3.0/Type-C.
Schematics for ODROID-M2 can be found at:
https://wiki.odroid.com/_media/odroid-m2/hardware/m2_main_rev1.0_240611.pdfThe device tree was created based on the schematics with regulator voltage values adjusted to closer match vendor downstream device tree.
Testing was done booting into Linux using mainline U-Boot from [1], a test build of mainline U-Boot for ODROID-M2 can be found at [2].
U-Boot patches will be sent once DT reach the devicetree-rebasing tree.
[1] https://github.com/Kwiboo/u-boot-rockchip/commits/rk3xxx-2024.10/
[2] https://github.com/Kwiboo/u-boot-build/actions/runs/10653436524Jonas Karlman (2):
dt-bindings: arm: rockchip: Add Hardkernel ODROID-M2
arm64: dts: rockchip: Add Hardkernel ODROID-M2
Quoted 11 lines
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3588s-odroid-m2.dts | 903 ++++++++++++++++++ 3 files changed, 909 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts--
2.46.0
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y rockchip/rk3588s-odroid-m2.dtb' for [email protected]:
arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dtb: video-codec@fdb50000: compatible: 'oneOf' conditional failed, one must be fixed:
['rockchip,rk3588-vpu121', 'rockchip,rk3568-vpu'] is too long
'rockchip,rk3588-vpu121' is not one of ['rockchip,rk3036-vpu', 'rockchip,rk3066-vpu', 'rockchip,rk3288-vpu', 'rockchip,rk3328-vpu', 'rockchip,rk3399-vpu', 'rockchip,px30-vpu', 'rockchip,rk3568-vpu', 'rockchip,rk3588-av1-vpu'] 'rockchip,rk3188-vpu' was expected
'rockchip,rk3228-vpu' was expected
'rockchip,rk3066-vpu' was expected
'rockchip,rk3399-vpu' was expected
from schema $id: http://devicetree.org/schemas/media/rockchip-vpu.yaml#arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dtb: /video-codec@fdb50000: failed to match any schema with compatible: ['rockchip,rk3588-vpu121', 'rockchip,rk3568-vpu'] arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dtb: /video-codec@fdba0000: failed to match any schema with compatible: ['rockchip,rk3588-vepu121'] arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dtb: /video-codec@fdba4000: failed to match any schema with compatible: ['rockchip,rk3588-vepu121'] arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dtb: /video-codec@fdba8000: failed to match any schema with compatible: ['rockchip,rk3588-vepu121'] arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dtb: /video-codec@fdbac000: failed to match any schema with compatible: ['rockchip,rk3588-vepu121']
Quoted 10 lines · Jonas Karlman
This series add initial support for the Hardkernel ODROID-M2 board.
The Hardkernel ODROID-M2 is a single-board computer based on Rockchip RK3588S2 SoC. It features e.g. 8/16 GB LPDDR5 RAM, 64 GB eMMC, SD-card, GbE LAN, HDMI 2.0, M.2 NVMe and USB 2.0/3.0/Type-C.
Schematics for ODROID-M2 can be found at:
https://wiki.odroid.com/_media/odroid-m2/hardware/m2_main_rev1.0_240611.pdf[...]
Applied, thanks!
[1/2] dt-bindings: arm: rockchip: Add Hardkernel ODROID-M2
commit: f1f348158813f64cd772d6ff4a3df0704285c14c
[2/2] arm64: dts: rockchip: Add Hardkernel ODROID-M2
commit: ce48b8c976ce439c336def6e06bf8224a8ff9125Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>