Skip to contentSkip to conversation

arm64: rk3399: Add support NanoPi R4s

PATCH New xiaobo 1 participant 1 message Feb 8, 2021

Subsystems (2)
lore
Share & tools
lore

xiaobo

author
#0 lore raw

PATCH 1/1 arm64: rk3399: Add support NanoPi R4s

From: Xiaobo Tian <[email protected]>

NanoPi R4s is SBC base on Rockchip RK3399 hexa-core processor with dual-Core Cortex-A72 and Mali-T864 GPU with 4GiB(LPDDR4) of RAM, SD card support, including 2 gigabit ethernet(RTL8211E 1Gbps - RTL8111H 1Gbps) and 2 USB 3.0 port. port.It also has two GPIO headers which allows further peripherals to be used.

The devicetree file is taken of the rk3399 nanopi4 Linux kernel [1].

[1] https://github.com/torvalds/linux/commit/e7a095908227fb3ccc86d001d9e13c9ae2bef8e6

---
 arch/arm/dts/Makefile                      |   1 +
 arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi |  17 +++
 arch/arm/dts/rk3399-nanopi-r4s.dts         | 138 +++++++++++++++++++++
 board/rockchip/evb_rk3399/MAINTAINERS      |   6 +
 configs/nanopi-r4s-rk3399_defconfig        |  62 +++++++++
 5 files changed, 224 insertions(+)
 create mode 100644 arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3399-nanopi-r4s.dts
 create mode 100644 configs/nanopi-r4s-rk3399_defconfig
arch/arm/dts/Makefile +1 -0
index 858b79ac97..528dfe069e 100644
@@ -92,6 +92,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3288) += \
 	rk3288-evb.dtb \
 	rk3288-firefly.dtb \
 	rk3288-miqi.dtb \
+	rk3399-nanopi-r4s.dtb \
 	rk3288-phycore-rdk.dtb \
 	rk3288-popmetal.dtb \
 	rk3288-rock2-square.dtb \
arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi new file +17 -0
new file mode 100644
index 0000000000..3f97867cc5
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * RK3399-based FriendlyElec boards device tree source
+ *
+ * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
+ *
+ * Copyright (c) 2018 FriendlyElec Computer Tech. Co., Ltd.
+ * (http://www.friendlyarm.com)
+ *
+ * Copyright (c) 2018 Collabora Ltd.
+ * Copyright (c) 2019 Arm Ltd.
+ * Copyright (C) 2020 Xiaobo <[email protected]>
+ */
+
+#include "rk3399-nanopi4-u-boot.dtsi"
+#include "rk3399-sdram-lpddr4-100.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
arch/arm/dts/rk3399-nanopi-r4s.dts new file +138 -0

138 lines not on this page · raw message

board/rockchip/evb_rk3399/MAINTAINERS +6 -0
index 4c889e06a6..3b9d60eccd 100644
@@ -55,6 +55,12 @@ S:	Maintained
 F:	configs/nanopi-neo4-rk3399_defconfig
 F:	arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi
 
+NANOPI-R4S
+M:	Xiaobo Tian <[email protected]>
+S:	Maintained
+F:	configs/nanopi-r4s-rk3399_defconfig
+F:	arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi
+
 ORANGEPI-RK3399
 M:	Jagan Teki <[email protected]>
 S:	Maintained
configs/nanopi-r4s-rk3399_defconfig new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
2.30.0