From: michael.opdenacker@rootcommit.com
To: yocto-patches@lists.yoctoproject.org
Cc: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Subject: [meta-rockchip] [PATCH] tinker-board-3: add
Date: Thu, 18 Dec 2025 06:03:36 +0000 (UTC) [thread overview]
Message-ID: <20251218060321.2194839-1-michael.opdenacker@rootcommit.com> (raw)
From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Add basic support for the Asus Tinker Board 3 [1] and 3S [2] SBCs,
with the Rockchip rk3566 SoC.
Support for such boards was introduced in the 6.19-rc1 version
of the Linux kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9f80b3952318d7ef18573a5010f06118602f992e
Therefore, the https://github.com/betafive/meta-linux-mainline/
layer is currently a prerequisite to build images for such machines.
Here are already supported features:
- Debug UART (/dev/ttyS2)
- SD card (/dev/mmcblk1)
- eMMC (/dev/mmcblk0, only on Tinker Board 3S)
- I2C:
- i2c0 (internal bus with a PMIC and regulators)
- i2c2 (internal bus with an at24 eeprom and an RTC device)
- USB 2.0 ports
- 2 GPIO LEDS
[1] https://tinker-board.asus.com/series/tinker-board-3.html
[2] https://tinker-board.asus.com/series/tinker-board-3s.html
Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
---
conf/machine/include/tinker-board-3.inc | 11 +++++++++++
conf/machine/tinker-board-3.conf | 10 ++++++++++
conf/machine/tinker-board-3s.conf | 10 ++++++++++
recipes-kernel/linux/linux-yocto_%.bbappend | 2 ++
4 files changed, 33 insertions(+)
create mode 100644 conf/machine/include/tinker-board-3.inc
create mode 100644 conf/machine/tinker-board-3.conf
create mode 100644 conf/machine/tinker-board-3s.conf
diff --git a/conf/machine/include/tinker-board-3.inc b/conf/machine/include/tinker-board-3.inc
new file mode 100644
index 0000000..17d0ecc
--- /dev/null
+++ b/conf/machine/include/tinker-board-3.inc
@@ -0,0 +1,11 @@
+require conf/machine/include/rk3566.inc
+
+# Kernel provided by https://github.com/betafive/meta-linux-mainline/
+PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
+PREFERRED_VERSION_virtual/kernel = "6.19-rc1"
+
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+# U-Boot doesn't support Tinker Board 3 so far
+# but boots fine when configured for a similar SBC
+UBOOT_MACHINE = "soquartz-model-a-rk3566_defconfig"
diff --git a/conf/machine/tinker-board-3.conf b/conf/machine/tinker-board-3.conf
new file mode 100644
index 0000000..d6400f3
--- /dev/null
+++ b/conf/machine/tinker-board-3.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2025 Michael Opdenacker <michael.opdenacker@rootcommit.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Tinker Board 3 RK3566
+#@DESCRIPTION: ASUS Tinker Board 3 is a Raspberry Pi like SBC based on Rockchip RK3566 Processor.
+
+require conf/machine/include/tinker-board-3.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3566-tinker-board-3.dtb"
diff --git a/conf/machine/tinker-board-3s.conf b/conf/machine/tinker-board-3s.conf
new file mode 100644
index 0000000..e23dc8b
--- /dev/null
+++ b/conf/machine/tinker-board-3s.conf
@@ -0,0 +1,10 @@
+# Copyright (C) 2025 Michael Opdenacker <michael.opdenacker@rootcommit.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Tinker Board 3S RK3566
+#@DESCRIPTION: ASUS Tinker Board 3 is a Raspberry Pi like SBC based on Rockchip RK3566 Processor.
+
+require conf/machine/include/tinker-board-3.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3566-tinker-board-3s.dtb"
diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
index 2dba3d7..684d33a 100644
--- a/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -30,6 +30,8 @@ COMPATIBLE_MACHINE:rock-pi-e = "rock-pi-e"
COMPATIBLE_MACHINE:rock-pi-s = "rock-pi-s"
COMPATIBLE_MACHINE:rock64 = "rock64"
COMPATIBLE_MACHINE:soquartz = "soquartz"
+COMPATIBLE_MACHINE:tinker-board-3 = "tinker-board-3"
+COMPATIBLE_MACHINE:tinker-board-3s = "tinker-board-3s"
SRC_URI:append:rockchip = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
SRC_URI:append:nanopi-r4s = " file://realtek-r8169.cfg"
next reply other threads:[~2025-12-18 6:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-18 6:03 michael.opdenacker [this message]
2025-12-18 10:46 ` [yocto-patches] [meta-rockchip] [PATCH] tinker-board-3: add Quentin Schulz
2025-12-19 2:47 ` Trevor Woerner
2025-12-19 15:17 ` Michael Opdenacker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251218060321.2194839-1-michael.opdenacker@rootcommit.com \
--to=michael.opdenacker@rootcommit.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.