Message ID | 1517660597-22496-1-git-send-email-david.wu@rock-chips.com |
---|---|
State | Changes Requested |
Delegated to: | Philipp Tomsich |
Headers | show |
Series | Add integrated phy support for rk322x and rk3328 | expand |
> In fact, the rk3328-evb is default supported the integrated phy, > not need to change any hardware. So it is better to enbale it and > disable external 1000M phy. > > Signed-off-by: David Wu <david.wu@rock-chips.com> > --- > > arch/arm/dts/rk3328-evb.dts | 10 ++++++++++ > 1 file changed, 10 insertions(+) > Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts index 336c2d5..1e09f7d 100644 --- a/arch/arm/dts/rk3328-evb.dts +++ b/arch/arm/dts/rk3328-evb.dts @@ -101,6 +101,16 @@ pinctrl-0 = <&rgmiim1_pins>; tx_delay = <0x26>; rx_delay = <0x11>; + status = "disabled"; +}; + +&gmac2phy { + phy-supply = <&vcc_phy>; + clock_in_out = "output"; + assigned-clocks = <&cru SCLK_MAC2PHY_SRC>; + assigned-clock-rate = <50000000>; + assigned-clocks = <&cru SCLK_MAC2PHY>; + assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>; status = "okay"; };
In fact, the rk3328-evb is default supported the integrated phy, not need to change any hardware. So it is better to enbale it and disable external 1000M phy. Signed-off-by: David Wu <david.wu@rock-chips.com> --- arch/arm/dts/rk3328-evb.dts | 10 ++++++++++ 1 file changed, 10 insertions(+)