RK3588-EDGE Ethernet驱动(二)

一:接口介绍

根据RK3588规格其具备双路原生千兆以太网接口即RGMII。

RK3588-EDGE Ethernet驱动(二)_第1张图片

 二:DTS介绍

1、GMAC

#kernel/linux-5.10/arch/arm64/boot/dts/rockchip/rk3588.dtsi
gmac0: ethernet@fe1b0000 {
	compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a";
	reg = <0x0 0xfe1b0000 0x0 0x10000>;
	interrupts = ,
				;
	interrupt-names = "macirq", "eth_wake_irq";
	rockchip,grf = <&sys_grf>;
	rockchip,php_grf = <&php_grf>;
	clocks = <&cru CLK_GMAC_125M>, <&cru CLK_GMAC_50M>,
			<&cru PCLK_GMAC0>, <&cru ACLK_GMAC0>,
			<&cru CLK_GMAC0_PTP_REF>;
	clock-names = "stmmaceth", "clk_mac_ref",
				"pclk

你可能感兴趣的:(Rockchip,Linux,Device,Drivers,RK3588-EDGE,linux,驱动开发)