From b10c065abe4d085d1e4ed77d3ac4affb3ccc7dda Mon Sep 17 00:00:00 2001 From: Lephe Date: Tue, 12 Apr 2022 16:22:14 +0100 Subject: [PATCH] mpu: update CPG definition We should also rename FRQCRA to FRQCR. --- include/gint/mpu/cpg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/gint/mpu/cpg.h b/include/gint/mpu/cpg.h index 4a80841..fc14cd2 100644 --- a/include/gint/mpu/cpg.h +++ b/include/gint/mpu/cpg.h @@ -94,7 +94,9 @@ typedef volatile struct uint32_t CKOFF :1; /* CKO Output Stop */ uint32_t :1; ); - pad(0x14); + + uint32_t PLL2CR; + pad(0x10); lword_union(SPUCLKCR, uint32_t :23; @@ -117,6 +119,9 @@ typedef volatile struct uint32_t :3; uint32_t FLF :11; /* FLL Multiplication Ratio */ ); + pad(0x0c); + + uint32_t LSTATS; } GPACKED(4) sh7305_cpg_t;