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 add CLKSEL21 bits
details: https://anonhg.NetBSD.org/src/rev/fe2eaf76c49d
branches: trunk
changeset: 335355:fe2eaf76c49d
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Jan 04 11:54:05 2015 +0000
description:
add CLKSEL21 bits
diffstat:
sys/arch/arm/rockchip/rockchip_crureg.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 943cbbf32a19 -r fe2eaf76c49d sys/arch/arm/rockchip/rockchip_crureg.h
--- a/sys/arch/arm/rockchip/rockchip_crureg.h Sun Jan 04 11:53:42 2015 +0000
+++ b/sys/arch/arm/rockchip/rockchip_crureg.h Sun Jan 04 11:54:05 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rockchip_crureg.h,v 1.6 2014/12/31 18:08:58 jmcneill Exp $ */
+/* $NetBSD: rockchip_crureg.h,v 1.7 2015/01/04 11:54:05 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -115,6 +115,13 @@
#define CRU_CLKSEL_CON13_UART0_CLK_SEL __BITS(9,8)
#define CRU_CLKSEL_CON13_UART0_DIV_CON __BITS(6,0)
+#define CRU_CLKSEL_CON21_MAC_DIV_CON_MASK __BITS(28,24)
+#define CRU_CLKSEL_CON21_RMII_EXTCLK_SEL_MASK __BIT(20)
+#define CRU_CLKSEL_CON21_MAC_PLL_SEL_MASK __BIT(16)
+#define CRU_CLKSEL_CON21_MAC_DIV_CON __BITS(12,8)
+#define CRU_CLKSEL_CON21_RMII_EXTCLK_SEL __BIT(4)
+#define CRU_CLKSEL_CON21_MAC_PLL_SEL __BIT(0)
+
#define CRU_GLB_SRST_FST_MAGIC 0xfdb9
#endif /* !_ROCKCHIP_CRUREG_H */
Home |
Main Index |
Thread Index |
Old Index