diff mbox series

[meta-rockchip,v2] rock-4c-plus: add

Message ID 20240120093038.654638-1-stephen@radxa.com
State New
Headers show
Series [meta-rockchip,v2] rock-4c-plus: add | expand

Commit Message

Stephen Chen Jan. 20, 2024, 9:30 a.m. UTC
ROCK 4C Plus is a Rockchip RK3399-T based SBC from Radxa.

Specs:
- 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

Signed-off-by: Stephen Chen <stephen@radxa.com>
---
 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

Comments

Trevor Woerner Jan. 21, 2024, 2:42 a.m. UTC | #1
On Sat 2024-01-20 @ 05:30:38 PM, Stephen Chen wrote:
> ROCK 4C Plus is a Rockchip RK3399-T based SBC from Radxa.
> 
> Specs:
> - 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
> 
> Signed-off-by: Stephen Chen <stephen@radxa.com>
> ---
>  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

Applied to meta-rockchip, master branch.
Thanks!
diff mbox series

Patch

diff --git a/README b/README
index 80ba592..c3b514f 100644
--- a/README
+++ b/README
@@ -37,6 +37,7 @@  Status of supported boards:
 		rock-5a
 		roc-rk3328-cc
 		roc-rk3308-cc
+		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 a922330..f5e81f1 100644
--- a/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -18,6 +18,7 @@  COMPATIBLE_MACHINE:nanopi-m4b = "nanopi-m4b"
 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-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"