Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ccbccafae | ||
|
|
128ab24eaa |
@@ -2,27 +2,27 @@
|
|||||||
&gmac0 {
|
&gmac0 {
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
clock_in_out = "input";
|
clock_in_out = "input";
|
||||||
|
|
||||||
snps,reset-gpio = <&gpio2 RK_PC5 GPIO_ACTIVE_LOW>;
|
snps,reset-gpio = <&gpio2 RK_PC5 GPIO_ACTIVE_LOW>;
|
||||||
snps,reset-active-low;
|
snps,reset-active-low;
|
||||||
/* Reset time is 20ms, 100ms for rtl8211f */
|
/* Reset time is 20ms, 100ms for rtl8211f */
|
||||||
snps,reset-delays-us = <0 20000 100000>;
|
snps,reset-delays-us = <0 20000 100000>;
|
||||||
|
|
||||||
assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>, <&cru CLK_MAC0_OUT>;
|
assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
|
||||||
assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&gmac0_clkin>, <&cru CLK_MAC0_2TOP>;
|
assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&gmac0_clkin>;
|
||||||
assigned-clock-rates = <0>, <125000000>, <25000000>;
|
assigned-clock-rates = <0>, <125000000>;
|
||||||
|
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&gmac0_miim
|
pinctrl-0 = <&gmac0_miim
|
||||||
&gmac0_tx_bus2
|
&gmac0_tx_bus2
|
||||||
&gmac0_rx_bus2
|
&gmac0_rx_bus2
|
||||||
&gmac0_rgmii_clk
|
&gmac0_rgmii_clk_level2
|
||||||
&gmac0_rgmii_bus
|
&gmac0_rgmii_bus
|
||||||
ð0_pins
|
|
||||||
&gmac0_clkinout>;
|
&gmac0_clkinout>;
|
||||||
|
|
||||||
tx_delay = <0x2d>;
|
|
||||||
rx_delay = <0x2c>;
|
tx_delay = <0x3c>;
|
||||||
|
rx_delay = <0x2f>;
|
||||||
|
|
||||||
phy-handle = <&rgmii_phy0>;
|
phy-handle = <&rgmii_phy0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@@ -32,6 +32,5 @@
|
|||||||
rgmii_phy0: phy@0 {
|
rgmii_phy0: phy@0 {
|
||||||
compatible = "ethernet-phy-ieee802.3-c22";
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
reg = <0x0>;
|
reg = <0x0>;
|
||||||
clocks = <&cru CLK_MAC0_OUT>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user