|
RK3399可以使用LAN8720A作phy吗,想用rk3399输出50M的CLK给phy,配置了设备树,但用示波器测试未发现有clk输出 clkin_gmac: external-gmac-clock {
compatible = "fixed-clock";
//clock-frequency = <125000000>;
clock-frequency = <50000000>;
clock-output-names = "clkin_gmac";
#clock-cells = <0>;
};
gmac {
phy-supply = <&vcc_lan>;
//phy-mode = "rgmii";
//clock_in_out = "input";
phy-mode = "rmii";
clock_in_out = "output";
snps,reset-gpio = <&gpio3 15 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 50000 1000000>;
assigned-clocks = <&cru SCLK_RMII_SRC>;
assigned-clock-parents = <&clkin_gmac>;
pinctrl-names = "default";
pinctrl-0 = <&rmii_pins>;
tx_delay = <0x30>;
rx_delay = <0x11>;
status = "okay";
};
|
|