diff mbox series

[meta-rockchip] nanopc-t4: add

Message ID 20261124052240.1121147-1-deepakdas.linux@gmail.com
State New
Headers show
Series [meta-rockchip] nanopc-t4: add | expand

Commit Message

Deepak Das Nov. 24, 2026, 5:22 a.m. UTC
The FriendlyElec NanoPC-T4 is an RK3399 SBC with 4GB LPDDR3 RAM and
16GB onboard eMMC.

Documentation page:
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4

Specs:
- Rockchip RK3399
- Dual-Core Arm Cortex-A72 + Quad-Core Arm Cortex-A53
- Arm Mali T860MP4 GPU
- 4GB LPDDR3 RAM
- 16GB eMMC
- 1x Micro SD Card Slot
- 1x M.2 M-Key (4-lane PCIe 2.1)
- 1x Gigabit Ethernet
- 802.11ac WiFi and Bluetooth
- 1x USB3 Type-C, 2x USB3 HOST, 1x USB2 HOST
- 1x HDMI 2.0, 1x eDP, 1x MIPI DSI, 2x MIPI CSI
- 40-pin GPIO header
- Debug UART at 1500000 baud
- 12V DC input

Upstream U-Boot (nanopc-t4-rk3399_defconfig) and the upstream kernel
device tree (rk3399-nanopc-t4.dts) are used.

Tested on scarthgap by building core-image-base and booting the wic
image from the SD card to a login prompt. On master, u-boot and
linux-yocto build successfully for this machine.

AI-Generated: Claude Code, Opus 5.5
Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>
---
 README                                  |  1 +
 conf/machine/nanopc-t4.conf             | 11 +++++++++++
 recipes-kernel/linux/linux-rockchip.inc |  1 +
 3 files changed, 13 insertions(+)
 create mode 100644 conf/machine/nanopc-t4.conf
diff mbox series

Patch

diff --git a/README b/README
index c2697d1..3d8c568 100644
--- a/README
+++ b/README
@@ -25,6 +25,7 @@  Status of supported boards:
 			vyasa-rk3288
 
 		64-bit:
+			nanopc-t4
 			nanopc-t6
 			nanopi-m4
 			nanopi-m4-2gb
diff --git a/conf/machine/nanopc-t4.conf b/conf/machine/nanopc-t4.conf
new file mode 100644
index 0000000..20c47d3
--- /dev/null
+++ b/conf/machine/nanopc-t4.conf
@@ -0,0 +1,11 @@ 
+#@TYPE: Machine
+#@NAME: NanoPC-T4
+#@DESCRIPTION: NanoPC-T4 RK3399 board from FriendlyElec, 4GB LPDDR3
+#https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
+
+require conf/machine/include/rk3399.inc
+
+MACHINE_FEATURES += "usbhost serial"
+
+KERNEL_DEVICETREE = "rockchip/rk3399-nanopc-t4.dtb"
+UBOOT_MACHINE = "nanopc-t4-rk3399_defconfig"
diff --git a/recipes-kernel/linux/linux-rockchip.inc b/recipes-kernel/linux/linux-rockchip.inc
index b87cb7a..7ca12b1 100644
--- a/recipes-kernel/linux/linux-rockchip.inc
+++ b/recipes-kernel/linux/linux-rockchip.inc
@@ -10,6 +10,7 @@  COMPATIBLE_MACHINE:tinker-board-s = "tinker-board-s"
 COMPATIBLE_MACHINE:vyasa-rk3288 = "vyasa-rk3288"
 
 # 64-bit devices
+COMPATIBLE_MACHINE:nanopc-t4 = "nanopc-t4"
 COMPATIBLE_MACHINE:nanopc-t6 = "nanopc-t6"
 COMPATIBLE_MACHINE:nanopi-m4 = "nanopi-m4"
 COMPATIBLE_MACHINE:nanopi-m4-2gb = "nanopi-m4-2gb"