From 01ef0b5999d7a6a3ef435081d30c19ef55cf93d6 Mon Sep 17 00:00:00 2001 From: Dominic Date: Wed, 7 Feb 2024 16:44:29 +0100 Subject: [PATCH] Add OCTOSPI1 register bits Those were previously only called QUADSPI, which is needed on some chips like the STM32H745, but those bits are used as OCTOSPI1 bits on other chips like the STM32H723. --- data/registers/rcc_h7.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/data/registers/rcc_h7.yaml b/data/registers/rcc_h7.yaml index 2a1c2e1..7b19545 100644 --- a/data/registers/rcc_h7.yaml +++ b/data/registers/rcc_h7.yaml @@ -558,6 +558,10 @@ fieldset/AHB3ENR: description: QUADSPI and QUADSPI Delay Clock Enable bit_offset: 14 bit_size: 1 + - name: OCTOSPI1EN + description: OCTOSPI2 and OCTOSPI2 delay block enable + bit_offset: 14 + bit_size: 1 - name: SDMMC1EN description: SDMMC1 and SDMMC1 Delay Clock Enable bit_offset: 16 @@ -621,6 +625,10 @@ fieldset/AHB3LPENR: description: QUADSPI and QUADSPI Delay Clock Enable During CSleep Mode bit_offset: 14 bit_size: 1 + - name: OCTOSPI1LPEN + description: OCTOSPI1 and OCTOSPI1 delay block enable during CSleep Mode + bit_offset: 14 + bit_size: 1 - name: SDMMC1LPEN description: SDMMC1 and SDMMC1 Delay Clock Enable During CSleep Mode bit_offset: 16 @@ -680,6 +688,10 @@ fieldset/AHB3RSTR: description: QUADSPI and QUADSPI delay block reset bit_offset: 14 bit_size: 1 + - name: OCTOSPI1RST + description: OCTOSPI1 and OCTOSPI1 delay block reset + bit_offset: 14 + bit_size: 1 - name: SDMMC1RST description: SDMMC1 and SDMMC1 delay block reset bit_offset: 16 @@ -3055,6 +3067,11 @@ fieldset/D1CCIPR: bit_offset: 4 bit_size: 2 enum: FMCSEL + - name: OCTOSPISEL + description: OCTOSPI kernel clock source selection + bit_offset: 4 + bit_size: 2 + enum: FMCSEL - name: DSISEL description: kernel clock source selection bit_offset: 8