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 update some bits for rk3188



details:   https://anonhg.NetBSD.org/src/rev/ca45c1864f85
branches:  trunk
changeset: 335148:ca45c1864f85
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Dec 27 19:14:34 2014 +0000

description:
update some bits for rk3188

diffstat:

 sys/arch/arm/rockchip/rockchip_crureg.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 420242916c62 -r ca45c1864f85 sys/arch/arm/rockchip/rockchip_crureg.h
--- a/sys/arch/arm/rockchip/rockchip_crureg.h   Sat Dec 27 19:14:05 2014 +0000
+++ b/sys/arch/arm/rockchip/rockchip_crureg.h   Sat Dec 27 19:14:34 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rockchip_crureg.h,v 1.3 2014/12/27 16:18:50 jmcneill Exp $ */
+/* $NetBSD: rockchip_crureg.h,v 1.4 2014/12/27 19:14:34 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -72,14 +72,16 @@
 
 #define CRU_CLKSEL_CON10_PERI_PLL_SEL_MASK     __BIT(31)
 #define CRU_CLKSEL_CON10_PERI_PCLK_DIV_CON_MASK        __BITS(29,28)
-#define CRU_CLKSEL_CON10_PERI_HCLK_DIV_CON_MASK        __BITS(25,24)
+#define CRU_CLKSEL_CON10_PERI_HCLK_DIV_CON_MASK        __BITS(26,24)
 #define CRU_CLKSEL_CON10_PERI_ACLK_DIV_CON_MASK        __BITS(20,16)
 #define CRU_CLKSEL_CON10_PERI_PLL_SEL          __BIT(15)
 #define CRU_CLKSEL_CON10_PERI_PCLK_DIV_CON     __BITS(13,12)
-#define CRU_CLKSEL_CON10_PERI_HCLK_DIV_CON     __BITS(9,8)
+#define CRU_CLKSEL_CON10_PERI_HCLK_DIV_CON     __BITS(10,8)
 #define CRU_CLKSEL_CON10_PERI_ACLK_DIV_CON     __BITS(4,0)
 
+#define CRU_CLKSEL_CON11_MMC0_PLL_SEL_MASK     __BIT(22)
 #define CRU_CLKSEL_CON11_MMC0_DIV_CON_MASK     __BITS(21,16)
+#define CRU_CLKSEL_CON11_MMC0_PLL_SEL          __BIT(6)
 #define CRU_CLKSEL_CON11_MMC0_DIV_CON          __BITS(5,0)
 
 #define CRU_GLB_SRST_FST_MAGIC 0xfdb9



Home | Main Index | Thread Index | Old Index