内核配置里面有一个配置开起来:

CONFIG_SUNXI_ADDR_MGT

同时设备树也需要加点东西,&soc节点里面加:

addr_mgt: addr_mgt@0 { compatible = "allwinner,sunxi-addr_mgt"; type_addr_wifi = <0x0>; type_addr_bt = <0x0>; type_addr_eth = <0x0>; status = "okay"; };