Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/rockchip Fix RGMII clock 25MHz setting (for 100...
details: https://anonhg.NetBSD.org/src/rev/ad8a3df7b996
branches: trunk
changeset: 449220:ad8a3df7b996
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Feb 27 07:16:00 2019 +0000
description:
Fix RGMII clock 25MHz setting (for 100Mbps).
diffstat:
sys/arch/arm/rockchip/rk_gmac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ef742ebf51b9 -r ad8a3df7b996 sys/arch/arm/rockchip/rk_gmac.c
--- a/sys/arch/arm/rockchip/rk_gmac.c Wed Feb 27 04:10:56 2019 +0000
+++ b/sys/arch/arm/rockchip/rk_gmac.c Wed Feb 27 07:16:00 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_gmac.c,v 1.9 2019/02/23 17:18:38 martin Exp $ */
+/* $NetBSD: rk_gmac.c,v 1.10 2019/02/27 07:16:00 msaitoh Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_gmac.c,v 1.9 2019/02/23 17:18:38 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_gmac.c,v 1.10 2019/02/27 07:16:00 msaitoh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -152,7 +152,7 @@
#define RK3399_GRF_SOC_CON5_RMII_MODE __BIT(6)
#define RK3399_GRF_SOC_CON5_GMAC_CLK_SEL __BITS(5,4)
#define RK3399_GRF_SOC_CON5_GMAC_CLK_SEL_125M 0
-#define RK3399_GRF_SOC_CON5_GMAC_CLK_SEL_25M 1
+#define RK3399_GRF_SOC_CON5_GMAC_CLK_SEL_25M 3
#define RK3399_GRF_SOC_CON5_GMAC_CLK_SEL_2_5M 2
#define RK3399_GRF_SOC_CON5_RMII_CLK_SEL __BIT(3)
#define RK3399_GRF_SOC_CON6 0x0c218
Home |
Main Index |
Thread Index |
Old Index