ARM: dts: Enable gmac at dts level for rv1109-evb-v10

Change-Id: I89e49318e5c328c3c54bc6991bb67f0a6cc8d15b
Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
David Wu
2020-02-05 19:45:47 +08:00
committed by Tao Huang
parent d8b8decc24
commit 079f2fb573

View File

@@ -15,3 +15,19 @@
&fiq_debugger {
status = "okay";
};
&gmac {
phy-mode = "rgmii";
clock_in_out = "input";
snps,reset-gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
/* Reset time is 20ms, 100ms for rtl8211f */
snps,reset-delays-us = <0 20000 100000>;
assigned-clocks = <&cru CLK_GMAC_SRC>;
assigned-clock-parents = <&cru CLK_GMAC_RGMII_M1>;
assigned-clocks = <&cru CLK_GMAC_ETHERNET_OUT>;
assigned-clock-rates = <25000000>;
tx_delay = <0x40>;
rx_delay = <0x3a>;
status = "okay";
};