Description
This document describes how to enable the EC20-4G module function by modifying the device tree in the SDK.
Device Tree Description
The main device tree file for TaishanPi-3M is:
kernel-6.1/arch/arm64/boot/dts/rockchip/tspi-3m-rk3576.dts
This file contains many .dtsi files. These .dtsi files are pre-defined hardware configuration files. To make it easy for you to use and modify, each functional interface has been split into a separate .dtsi file.
Device Tree Modification
Open kernel-6.1/arch/arm64/boot/dts/rockchip/tspi-3m-rk3576.dts, find the following code snippet:
// #include "tspi-3m-rk3576-ec20-4g.dtsi"Uncomment it to enable the EC20-4G module function:
#include "tspi-3m-rk3576-ec20-4g.dtsi"Precautions
When enabling tspi-3m-rk3576-ec20-4g.dtsi in this type, make sure:
tspi-3m-rk3576-pcie.dtsiis commented out.tspi-3m-rk3576-sata.dtsiis commented out.
Compile Kernel and Flash
All other files required for using the EC20-4G module have been integrated into the SDK for you. You only need to recompile the kernel. Refer to Kernel Compilation 🚀 chapter for compilation, then flash the kernel image separately.
Testing and Verification
For specific testing, refer to: Debian12 EC20-4G Module Usage 🚀 chapter.