Skip to content

Commit 4b05bc6

Browse files
SuperDavidWudavem330
authored andcommitted
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>
1 parent 9c4cc91 commit 4b05bc6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3328-evb.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@
5050
chosen {
5151
stdout-path = "serial2:1500000n8";
5252
};
53+
54+
vcc_phy: vcc-phy-regulator {
55+
compatible = "regulator-fixed";
56+
regulator-name = "vcc_phy";
57+
regulator-always-on;
58+
regulator-boot-on;
59+
};
60+
};
61+
62+
&gmac2phy {
63+
phy-supply = <&vcc_phy>;
64+
clock_in_out = "output";
65+
assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
66+
assigned-clock-rate = <50000000>;
67+
assigned-clocks = <&cru SCLK_MAC2PHY>;
68+
assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
69+
status = "okay";
5370
};
5471

5572
&uart2 {

0 commit comments

Comments
 (0)