Skip to content

Commit 7d8b3ae

Browse files
committed
can go even harder
1 parent 9b586f4 commit 7d8b3ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

checkra1n/kpf/main.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -2917,10 +2917,11 @@ void module_entry(void)
29172917
printf("status=0x%x\n", read32(0x202f20050));
29182918
} else if (socnum == 0x8003) {
29192919
// tell the kernel our configuration
2920-
((uint32_t*)dt_prop(dt_find(gDeviceTree, "/arm-io/pmgr"), "voltage-states1", NULL))[12] = 0x6aaa; // 2400 MHz
2920+
((uint32_t*)dt_prop(dt_find(gDeviceTree, "/arm-io/pmgr"), "voltage-states1", NULL))[12] = 0x6893; // 2448 MHz
29212921
((uint32_t*)dt_prop(dt_find(gDeviceTree, "/arm-io/pmgr"), "voltage-states1", NULL))[13] = 0x3e8; // 1000 mV
29222922
// actually overclock
2923-
write64(0x202220068 + 0x300, 0xb000000007202640); // volt = (450 + ((((bit[63:56]) * 3125)) / 1000))
2923+
//write64(0x202220068 + 0x300, 0xb000000007202640); // volt = (450 + ((((bit[63:56]) * 3125)) / 1000))
2924+
write64(0x202220068 + 0x300, 0xb000000007202660); // volt = (450 + ((((bit[63:56]) * 3125)) / 1000))
29242925
write64(0x202220868 + (8 * 8), 0x55000f800d000000);
29252926
}
29262927

0 commit comments

Comments
 (0)