Skip to contentSkip to conversation

rock-4c-plus: add

PATCH Applied Stephen Chen 2 participants 2 messages Jan 20, 2024 – Jan 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rock-4c-plus: add

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

---
 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
README +1 -0
index 80ba592..c3b514f 100644
@@ -37,6 +37,7 @@ Status of supported boards:
 		rock-5a
 		roc-rk3328-cc
 		roc-rk3308-cc
+		rock-4c-plus
 	builds:
 		marsboard-rk3066
 		radxarock
conf/machine/rock-4c-plus.conf new file +10 -0
new file mode 100644
index 0000000..fec4167
@@ -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"
recipes-kernel/linux/linux-yocto_%.bbappend +1 -0
index a922330..f5e81f1 100644
@@ -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"
Signature · 1 line
2.34.1
#1 lore raw
Quoted 21 lines · Stephen Chen

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

Quoted 7 lines
---
 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!