aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-06-20 15:27:09 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-06-20 15:27:09 +0000
commita2d705318866ed1322fceb4971bfc6a62d695353 (patch)
tree03e224ee5a9208d82c732247b46f0e42091deea7 /sys/arm64
parent5f35d609c723347cccebe90cc2d77ca0b53acf86 (diff)
downloadsrc-a2d705318866ed1322fceb4971bfc6a62d695353.tar.gz
src-a2d705318866ed1322fceb4971bfc6a62d695353.zip
if_rk_dwc: Disable setting delays for now
The values for tx/rx delays differs accross the different DTS. Mainline Linux set it to 0x24/0x18 Mostly-Vendor u-boot (the one maintained and developped) to 0x18/0x18 Mostly-Vendor linux (the one maintained and developped) to 0x26/0x11 By experience only 0x18/0x18 works so until the issue is resolved rely on the bootloader settings.
Notes
Notes: svn path=/head/; revision=335445
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/rockchip/if_dwc_rk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm64/rockchip/if_dwc_rk.c b/sys/arm64/rockchip/if_dwc_rk.c
index 54cda16f0b30..f0b54f841211 100644
--- a/sys/arm64/rockchip/if_dwc_rk.c
+++ b/sys/arm64/rockchip/if_dwc_rk.c
@@ -80,7 +80,8 @@ rk3328_set_delays(struct syscon *grf, phandle_t node)
rx = ((rx & RK3328_GRF_MAC_CON0_TX_MASK) <<
RK3328_GRF_MAC_CON0_RX_SHIFT);
- SYSCON_WRITE_4(grf, RK3328_GRF_MAC_CON0, tx | rx | 0xFFFF0000);
+ /* Disable delays as values conflict between DTS */
+ /* SYSCON_WRITE_4(grf, RK3328_GRF_MAC_CON0, tx | rx | 0xFFFF0000); */
}
static int