Skip to content

Commit 5060d58

Browse files
committed
arm64: dts: rockchip: Fix the RMII REF_CLK with input mode for px30-evb
Base on the evb board, the mode of RMII REF_CLK need to be setup for input. Change-Id: I06220d3422835a456b5567d7797a008d313e185a Signed-off-by: David Wu <david.wu@rock-chips.com>
1 parent 52acfab commit 5060d58

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@
295295

296296
&gmac {
297297
phy-supply = <&vcc_phy>;
298-
clock_in_out = "output";
298+
assigned-clocks = <&cru SCLK_GMAC>;
299+
assigned-clock-parents = <&gmac_clkin>;
300+
clock_in_out = "input";
299301
snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>;
300302
snps,reset-active-low;
301303
snps,reset-delays-us = <0 50000 50000>;

arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@
295295

296296
&gmac {
297297
phy-supply = <&vcc_phy>;
298-
clock_in_out = "output";
298+
assigned-clocks = <&cru SCLK_GMAC>;
299+
assigned-clock-parents = <&gmac_clkin>;
300+
clock_in_out = "input";
299301
snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>;
300302
snps,reset-active-low;
301303
snps,reset-delays-us = <0 50000 50000>;

0 commit comments

Comments
 (0)