mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ARM: dts: rv1109: Move the phy definition out from dtsi level
It is best to put the definition of phy in dts, not in dtsi. Change-Id: I9fd98446845d6f95018b5cdf2fe842b0829281df Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
@@ -1294,18 +1294,12 @@
|
||||
snps,axi-config = <&stmmac_axi_setup>;
|
||||
snps,mtl-rx-config = <&mtl_rx_setup>;
|
||||
snps,mtl-tx-config = <&mtl_tx_setup>;
|
||||
phy-handle = <&phy>;
|
||||
status = "disabled";
|
||||
|
||||
mdio {
|
||||
mdio: mdio {
|
||||
compatible = "snps,dwmac-mdio";
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "snps,dwmac-mdio";
|
||||
phy: phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
device_type = "ethernet-phy";
|
||||
reg = <0x0>;
|
||||
};
|
||||
};
|
||||
|
||||
stmmac_axi_setup: stmmac-axi-config {
|
||||
|
||||
@@ -102,16 +102,21 @@
|
||||
&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>;
|
||||
|
||||
phy-handle = <&phy>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -374,6 +379,13 @@
|
||||
&i2s0m0_sdo1_sdi3>;
|
||||
};
|
||||
|
||||
&mdio {
|
||||
phy: phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0x0>;
|
||||
};
|
||||
};
|
||||
|
||||
&mpp_srv {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user