[PATCH 00/12] rockchip: initial rk3568 support
Tianling Shen
cnsztl at immortalwrt.org
Tue Sep 12 07:42:28 PDT 2023
Hi all,
In this patchset I added basic support for the Rockchip RK3568 SoCs
and two boards: NanoPi R5C and NanoPi R5S.
SoC Highlights:
* Quad-core Cortex-A55 up to 2.0GHz
* Mali-G52 GPU
* 1TOPS NPU
* LPDDR4/LPDDR4X/DDR4/DDR3/DDR3L/LPDDR3, ECC
* 4KP60 H.265/H.264/VP9 video decoder
* 1080P60 H.264/H.265 video encoder
* 8M ISP with HDR
* Dual dislplay, LVDS/MIPI-DSI/RGB/eDp/RGB/HDMI2.0/EBC
* 1x8ch I2S/TDM, 1x8ch PDM, 2x2ch I2S
* USB3.0 x2/SATA3.0 x3/PCIE2.1/QSGMII,PCIE3.0 1x2Lanes/2x1Lane
You can also review this patchset on GitHub:
https://github.com/openwrt/openwrt/pull/12974
Thanks,
Tianling.
Tianling Shen (12):
u-boot: introduce dependencies check for swig and pyelftools
uboot-rockchip: Update to 2023.07.02
rkbin: add new TF-A package for rk35xx
rockchip: move image generation command to default
rockchip: switch to kernel 6.1
rockchip: remove kernel 5.15 patches and config
rockchip: enable drivers for rk356x
rockchip: armv8: broaden boardname
uboot-rockchip: add NanoPi R5S support
rockchip: add NanoPi R5S support
uboot-rockchip: add NanoPi R5C support
rockchip: add NanoPi R5C support
include/u-boot.mk | 27 +-
package/boot/rkbin/Makefile | 47 +
package/boot/uboot-rockchip/Makefile | 63 +-
...01-scripts-remove-dependency-on-swig.patch | 24 -
...-spl-remove-dtoc-of-pdata-generation.patch | 28 -
...8-Add-support-for-Orange-Pi-R1-Plus.patch} | 80 +-
...rock64pro-disable-CONFIG_USE_PREBOOT.patch | 27 -
...dd-support-for-Orange-Pi-R1-Plus-LT.patch} | 63 +-
...d-support-for-FriendlyARM-NanoPi-R2C.patch | 199 ---
...Add-support-for-FriendlyARM-NanoPi-R.patch | 917 ++++++++++++
...Add-support-for-FriendlyARM-NanoPi-R.patch | 269 ++++
.../of-platdata/nanopi-r2c-rk3328/dt-decl.h | 23 -
.../of-platdata/nanopi-r2c-rk3328/dt-plat.c | 155 ---
.../nanopi-r2c-rk3328/dt-structs-gen.h | 51 -
.../of-platdata/nanopi-r2s-rk3328/dt-decl.h | 23 -
.../of-platdata/nanopi-r2s-rk3328/dt-plat.c | 155 ---
.../nanopi-r2s-rk3328/dt-structs-gen.h | 51 -
.../orangepi-r1-plus-lts-rk3328/dt-decl.h | 24 -
.../orangepi-r1-plus-lts-rk3328/dt-plat.c | 170 ---
.../dt-structs-gen.h | 55 -
.../orangepi-r1-plus-rk3328/dt-decl.h | 24 -
.../orangepi-r1-plus-rk3328/dt-plat.c | 170 ---
.../orangepi-r1-plus-rk3328/dt-structs-gen.h | 55 -
.../src/of-platdata/roc-cc-rk3328/dt-decl.h | 24 -
.../src/of-platdata/roc-cc-rk3328/dt-plat.c | 189 ---
.../roc-cc-rk3328/dt-structs-gen.h | 55 -
.../of-platdata/rock-pi-e-rk3328/dt-decl.h | 24 -
.../of-platdata/rock-pi-e-rk3328/dt-plat.c | 189 ---
.../rock-pi-e-rk3328/dt-structs-gen.h | 54 -
.../src/of-platdata/rock64-rk3328/dt-decl.h | 27 -
.../src/of-platdata/rock64-rk3328/dt-plat.c | 219 ---
.../rock64-rk3328/dt-structs-gen.h | 63 -
target/linux/rockchip/Makefile | 3 +-
.../armv8/base-files/etc/board.d/01_leds | 9 +
.../armv8/base-files/etc/board.d/02_network | 11 +
.../etc/hotplug.d/net/40-net-smp-affinity | 9 +
target/linux/rockchip/armv8/config-5.15 | 644 ---------
target/linux/rockchip/armv8/config-6.1 | 28 +-
target/linux/rockchip/armv8/target.mk | 2 +-
target/linux/rockchip/image/Makefile | 2 +
target/linux/rockchip/image/armv8.mk | 29 +-
...kchip-add-EEPROM-node-for-NanoPi-R4S.patch | 31 -
...-rockchip-Add-FriendlyARM-NanoPi-R2C.patch | 70 -
...ockchip-rk3328-Add-Orange-Pi-R1-Plus.patch | 407 ------
...hip-Add-Xunlong-OrangePi-R1-Plus-LTS.patch | 71 -
...-rockchip-use-system-LED-for-OpenWrt.patch | 65 -
...dd-OF-node-for-USB-eth-on-NanoPi-R2S.patch | 24 -
.../105-nanopi-r4s-sd-signalling.patch | 36 -
.../patches-5.15/106-r4s-openwrt-leds.patch | 16 -
...ip-Update-LED-properties-for-Orange-.patch | 56 -
...ip-add-LED-configuration-to-Orange-P.patch | 24 -
.../109-nanopc-t4-add-led-aliases.patch | 16 -
...-Update-DLL-and-pre-change-delay-for.patch | 60 +
...mshc-properly-determine-max-clock-on.patch | 52 +
...rockchip-Add-FriendlyElec-Nanopi-R5S.patch | 754 ++++++++++
...eate-common-dtsi-for-NanoPi-R5-serie.patch | 1226 +++++++++++++++++
...chip-fix-gmac-support-for-NanoPi-R5S.patch | 49 +
...move-I2S1-TDM-node-for-the-NanoPi-R5.patch | 39 +
...-rockchip-Add-FriendlyARM-NanoPi-R5C.patch | 152 ++
...-fix-button-reset-pin-for-nanopi-r5c.patch | 37 +
...ip-Update-LED-properties-for-NanoPi-.patch | 97 ++
61 files changed, 3928 insertions(+), 3635 deletions(-)
create mode 100644 package/boot/rkbin/Makefile
delete mode 100644 package/boot/uboot-rockchip/patches/001-scripts-remove-dependency-on-swig.patch
delete mode 100644 package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
rename package/boot/uboot-rockchip/patches/{103-rockchip-rk3328-Add-support-for-Orange-Pi-R1-Plus.patch => 100-rockchip-rk3328-Add-support-for-Orange-Pi-R1-Plus.patch} (91%)
delete mode 100644 package/boot/uboot-rockchip/patches/101-rock64pro-disable-CONFIG_USE_PREBOOT.patch
rename package/boot/uboot-rockchip/patches/{104-rockchip-rk3328-Add-support-for-Orange-Pi-R1-Plus-LT.patch => 101-rockchip-rk3328-Add-support-for-Orange-Pi-R1-Plus-LT.patch} (86%)
delete mode 100644 package/boot/uboot-rockchip/patches/102-rockchip-rk3328-Add-support-for-FriendlyARM-NanoPi-R2C.patch
create mode 100644 package/boot/uboot-rockchip/patches/103-rockchip-rk3568-Add-support-for-FriendlyARM-NanoPi-R.patch
create mode 100644 package/boot/uboot-rockchip/patches/104-rockchip-rk3568-Add-support-for-FriendlyARM-NanoPi-R.patch
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/nanopi-r2c-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/nanopi-r2c-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/nanopi-r2c-rk3328/dt-structs-gen.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-structs-gen.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/orangepi-r1-plus-lts-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/orangepi-r1-plus-lts-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/orangepi-r1-plus-lts-rk3328/dt-structs-gen.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/orangepi-r1-plus-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/orangepi-r1-plus-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/orangepi-r1-plus-rk3328/dt-structs-gen.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/roc-cc-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/roc-cc-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/roc-cc-rk3328/dt-structs-gen.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/rock-pi-e-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/rock-pi-e-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/rock-pi-e-rk3328/dt-structs-gen.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/rock64-rk3328/dt-decl.h
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/rock64-rk3328/dt-plat.c
delete mode 100644 package/boot/uboot-rockchip/src/of-platdata/rock64-rk3328/dt-structs-gen.h
delete mode 100644 target/linux/rockchip/armv8/config-5.15
delete mode 100644 target/linux/rockchip/patches-5.15/005-arm64-dts-rockchip-add-EEPROM-node-for-NanoPi-R4S.patch
delete mode 100644 target/linux/rockchip/patches-5.15/006-v6.4-arm64-dts-rockchip-Add-FriendlyARM-NanoPi-R2C.patch
delete mode 100644 target/linux/rockchip/patches-5.15/007-v6.3-arm64-dts-rockchip-rk3328-Add-Orange-Pi-R1-Plus.patch
delete mode 100644 target/linux/rockchip/patches-5.15/008-v6.4-arm64-dts-rockchip-Add-Xunlong-OrangePi-R1-Plus-LTS.patch
delete mode 100644 target/linux/rockchip/patches-5.15/100-rockchip-use-system-LED-for-OpenWrt.patch
delete mode 100644 target/linux/rockchip/patches-5.15/103-arm64-rockchip-add-OF-node-for-USB-eth-on-NanoPi-R2S.patch
delete mode 100644 target/linux/rockchip/patches-5.15/105-nanopi-r4s-sd-signalling.patch
delete mode 100644 target/linux/rockchip/patches-5.15/106-r4s-openwrt-leds.patch
delete mode 100644 target/linux/rockchip/patches-5.15/107-arm64-dts-rockchip-Update-LED-properties-for-Orange-.patch
delete mode 100644 target/linux/rockchip/patches-5.15/108-arm64-dts-rockchip-add-LED-configuration-to-Orange-P.patch
delete mode 100644 target/linux/rockchip/patches-5.15/109-nanopc-t4-add-led-aliases.patch
create mode 100644 target/linux/rockchip/patches-6.1/001-v6.3-mmc-sdhci-of-dwcmshc-Update-DLL-and-pre-change-delay-for.patch
create mode 100644 target/linux/rockchip/patches-6.1/002-v6.4-mmc-sdhci-of-dwcmshc-properly-determine-max-clock-on.patch
create mode 100644 target/linux/rockchip/patches-6.1/009-v6.4-arm64-dts-rockchip-Add-FriendlyElec-Nanopi-R5S.patch
create mode 100644 target/linux/rockchip/patches-6.1/010-v6.4-arm64-dts-rockchip-create-common-dtsi-for-NanoPi-R5-serie.patch
create mode 100644 target/linux/rockchip/patches-6.1/011-v6.4-arm64-dts-rockchip-fix-gmac-support-for-NanoPi-R5S.patch
create mode 100644 target/linux/rockchip/patches-6.1/012-v6.4-arm64-dts-rockchip-remove-I2S1-TDM-node-for-the-NanoPi-R5.patch
create mode 100644 target/linux/rockchip/patches-6.1/013-v6.4-arm64-dts-rockchip-Add-FriendlyARM-NanoPi-R5C.patch
create mode 100644 target/linux/rockchip/patches-6.1/014-v6.4-arm64-dts-rockchip-fix-button-reset-pin-for-nanopi-r5c.patch
create mode 100644 target/linux/rockchip/patches-6.1/110-arm64-dts-rockchip-Update-LED-properties-for-NanoPi-.patch
--
2.42.0
More information about the openwrt-devel
mailing list