diff options
author | David Wu <david.wu@rock-chips.com> | 2017-08-10 22:02:01 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-11 14:28:59 -0700 |
commit | 4b05bc6157eb94d01abe493c72f5a3a5014718c8 (patch) | |
tree | 26994f48024376f1042231f7dd759e0b98e83430 /arch/arm64/boot/dts/rockchip/rk3328-evb.dts | |
parent | 9c4cc910fe28939e485e78c45d9d90931e652759 (diff) | |
download | lwn-4b05bc6157eb94d01abe493c72f5a3a5014718c8.tar.gz lwn-4b05bc6157eb94d01abe493c72f5a3a5014718c8.zip |
ARM64: dts: rockchip: Enable gmac2phy for rk3328-evb
Enable the gmac2phy, make the gmac2phy work on
the rk3328-evb board.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3328-evb.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts index cf272392cebf..b9f36dad17e6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts @@ -50,6 +50,23 @@ chosen { stdout-path = "serial2:1500000n8"; }; + + vcc_phy: vcc-phy-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_phy"; + regulator-always-on; + regulator-boot-on; + }; +}; + +&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"; }; &uart2 { |