4.7.2. 参数配置

4.7.2.1. 内核配置

参考快速入门 - 编译概述 - Kernel配置,进入kernel的功能配置,按如下选择:

Linux
    Device Drivers
        Misc devices
            [*] WRI driver for ZX Soc

4.7.2.2. DTS 参数配置

4.7.2.2.1. M4 配置

common/m4.dtsi中的参数配置:

wri: wri@1900f000 {
            compatible = "zx,aic-wri-v1.0";
            reg = <0x0 0x1900f000 0x0 0x1000>;
            status = "okay";
    };