summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Kropatsch <seb-dev@mail.de>2024-07-11 12:15:17 +0200
committerKever Yang <kever.yang@rock-chips.com>2024-07-17 14:48:18 +0800
commitf59d40aa5598063396164b3248f0f8ed6591e3db (patch)
tree9ca81e649254e0c9ccc0eb7b8c3c37be4dcf1a0e /include
parent5670a90a0c9ed6c79128ec240115dbddbd05faee (diff)
downloadu-boot-f59d40aa5598063396164b3248f0f8ed6591e3db.tar.gz
u-boot-f59d40aa5598063396164b3248f0f8ed6591e3db.tar.bz2
u-boot-f59d40aa5598063396164b3248f0f8ed6591e3db.zip
board: rockchip: Add FriendlyElec NanoPi R6C
The NanoPi R6C is a SBC by FriendlyElec based on the Rockchip RK3588s. It comes with 4GB or 8GB of RAM, a microSD card slot, optional 32GB eMMC storage, one M.2 M-Key connector, one RTL8211F 1GbE and one RTL8125 2.5GbE Ethernet port, one USB 2.0 Type-A and one USB 3.0 Type-A port, a HDMI port, a 30-pin GPIO header as well as multiple buttons and LEDs. Add initial support for this board using the upstream devicetree sources. Tested in U-Boot proper: - Booting from eMMC works - 1GbE Ethernet works using the eth_eqos driver (tested by ping) - 2.5GbE Ethernet works using the eth_rtl8169 driver (tested by ping), but the status LEDs on this specific port currently aren't working - NVMe SSD in M.2 socket does get recognized (tested with `nvme scan` followed by `nvme details`) Kernel commit: d5f1d7437451 ("arm64: dts: rockchip: Add support for NanoPi R6C") Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Sebastian Kropatsch <seb-dev@mail.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/nanopi-r6c-rk3588s.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/nanopi-r6c-rk3588s.h b/include/configs/nanopi-r6c-rk3588s.h
new file mode 100644
index 0000000000..2b57d60eb5
--- /dev/null
+++ b/include/configs/nanopi-r6c-rk3588s.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef __NANOPI_R6C_RK3588S_H
+#define __NANOPI_R6C_RK3588S_H
+
+#define ROCKCHIP_DEVICE_SETTINGS \
+ "stdout=serial,vidconsole\0" \
+ "stderr=serial,vidconsole\0"
+
+#include <configs/rk3588_common.h>
+
+#endif /* __NANOPI_R6C_RK3588S_H */