I'm trying to bring up my T113-s3 based board and cannot get the EMAC to initialize. Some info about my board: I'm using a RTL8201F phy on the PG pins in RMII mode and want to use the EPHY-25M clock output on PG11 to drive the phy so no external crystal is needed. Kernel:...
图3-6:EPHY驱动配置 3.2.2devicetree配置说明 在devicetree中对GMAC控制器进行配置,一个GMAC控制器对应一个GMAC设备节点。 EMAC模块的设备树配置位于内核目录,64位arm系统在arch/arm64/boot/dts/sunxi/xxxxx.dtsi, 32位arm系统在arch/arm/boot/dts/xxxxx.dtsi,riscv系统在arch/riscv/boot/dt- s/xxxxx.dtsi...
DEFINE_RES_IRQ(AC200_IRQ_EPHY), }; static const struct mfd_cell ac200_cells[] = { { .name = "ac200-ephy-sunxi", .num_resources = ARRAY_SIZE(ephy_resource), .resources = ephy_resource, .of_compatible = "x-powers,ac200-ephy-sunxi", }, { .name = "acx00-codec", .of_compatib...
static int sun8i_get_ephy_nodes(struct emac_eth_dev *priv) static int sun8i_get_ephy_nodes(struct udevice *dev, struct emac_eth_dev *priv) { int emac_node, ephy_node, ret, ephy_handle;@@ -986,7 +987,7 @@ static int sun8i_emac_eth_ofdata_to_platdata(struct udevice *dev)...