From f7f2878e023dff23d31d38391305b4ffbe294834 Mon Sep 17 00:00:00 2001 From: Stephen Chen Date: Sat, 20 Jan 2024 17:30:38 +0800 Subject: [PATCH] rock-4c-plus: add ROCK 4C Plus is a Rockchip RK3399-T based SBC from Radxa. Specs: - Rockchip RK3399-T, 2x Cortex-A72 @ 1.5GHz, 4x Cortex-A53@1GHz - Mali T860MP4 GPU - RaspberryPi 4 form factor - 64bit LPDDR4 - eMMC - Micro SD - SPI Nor Flash - Two Micro-HDMI (HDMI 4K and HDMI 2K) - 4-lane MIPI DSI - MIPI CSI - GbE LAN with Power over Ethernet (PoE) support - Wi-Fi 5 and BT5.0 wireless module - 3.5mm headphone jack - Four USB ports (two USB2.0 and two USB3.0) - RTC - LEDs - Power button - Pwm fan - 40-pin color expansion header https://wiki.radxa.com/Rock4/4cplus Signed-off-by: Stephen Chen --- README | 1 + conf/machine/rock-4c-plus.conf | 10 ++++++++++ recipes-kernel/linux/linux-yocto_%.bbappend | 1 + 3 files changed, 12 insertions(+) create mode 100644 conf/machine/rock-4c-plus.conf diff --git a/README b/README index e323278..4c30f75 100644 --- a/README +++ b/README @@ -39,6 +39,7 @@ Status of supported boards: roc-rk3308-cc orangepi-5-plus rock-3a + rock-4c-plus builds: marsboard-rk3066 radxarock diff --git a/conf/machine/rock-4c-plus.conf b/conf/machine/rock-4c-plus.conf new file mode 100644 index 0000000..fec4167 --- /dev/null +++ b/conf/machine/rock-4c-plus.conf @@ -0,0 +1,10 @@ +#@TYPE: Machine +#@NAME: ROCK 4C Plus +#@DESCRIPTION: ROCK 4C Plus based on Rockchip RK3399-T Processor is designed by Radxa. +#https://wiki.radxa.com/Rock4/4cplus +#https://docs.radxa.com/en/rock4/rock4c+ + +require conf/machine/include/rock-pi-4.inc + +KERNEL_DEVICETREE = "rockchip/rk3399-rock-4c-plus.dtb" +UBOOT_MACHINE = "rock-4c-plus-rk3399_defconfig" diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend index 9a7ca6a..41451df 100644 --- a/recipes-kernel/linux/linux-yocto_%.bbappend +++ b/recipes-kernel/linux/linux-yocto_%.bbappend @@ -19,6 +19,7 @@ COMPATIBLE_MACHINE:rock-pi-s = "rock-pi-s" COMPATIBLE_MACHINE:roc-rk3328-cc = "roc-rk3328-cc" COMPATIBLE_MACHINE:roc-rk3308-cc = "roc-rk3308-cc" COMPATIBLE_MACHINE:rock-3a = "rock-3a" +COMPATIBLE_MACHINE:rock-4c-plus = "rock-4c-plus" SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta" SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"