svn commit: r347490 - head/sys/arm/allwinner/clkng
Emmanuel Vadot
manu at FreeBSD.org
Sat May 11 15:02:56 UTC 2019
Author: manu
Date: Sat May 11 15:02:55 2019
New Revision: 347490
URL: https://svnweb.freebsd.org/changeset/base/347490
Log:
allwinner: clk: sun8i_r: Correct resets
The i2c reset wasn't defined and some bits where wrong, correct them.
Modified:
head/sys/arm/allwinner/clkng/ccu_sun8i_r.c
Modified: head/sys/arm/allwinner/clkng/ccu_sun8i_r.c
==============================================================================
--- head/sys/arm/allwinner/clkng/ccu_sun8i_r.c Sat May 11 15:02:20 2019 (r347489)
+++ head/sys/arm/allwinner/clkng/ccu_sun8i_r.c Sat May 11 15:02:55 2019 (r347490)
@@ -63,8 +63,9 @@ __FBSDID("$FreeBSD$");
static struct aw_ccung_reset ccu_sun8i_r_resets[] = {
CCU_RESET(RST_APB0_IR, 0xb0, 1)
CCU_RESET(RST_APB0_TIMER, 0xb0, 2)
- CCU_RESET(RST_APB0_RSB, 0xb0, 4)
- CCU_RESET(RST_APB0_UART, 0xb0, 6)
+ CCU_RESET(RST_APB0_RSB, 0xb0, 3)
+ CCU_RESET(RST_APB0_UART, 0xb0, 4)
+ CCU_RESET(RST_APB0_I2C, 0xb0, 6)
};
static struct aw_ccung_gate ccu_sun8i_r_gates[] = {
More information about the svn-src-all
mailing list