Skip to content

Commit

Permalink
[drv] set default clk to 900M
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Dec 11, 2023
1 parent 427c974 commit ec5c454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sys-clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void sunxi_clk_init(void) {
val = read32(CCU_BASE + CCU_PLL_CPU_CTRL_REG);
/* CPU_PLL: Output disable, PLL_N = 0, M = 0 */
val &= ~((1 << 27) | (0x3FF << 8) | 0x3);
val |= (1 << 30 | (1 << 29) | (50 << 8));
val |= (1 << 30 | (1 << 29) | (37 << 8));
write32(CCU_BASE + CCU_PLL_CPU_CTRL_REG, val);
sdelay(5);

Expand Down

0 comments on commit ec5c454

Please sign in to comment.