rcc/h7: fix wrong names and bits for otg

This commit is contained in:
Dario Nieuwenhuis 2023-01-11 00:27:41 +01:00
parent 9c5fb2a1ce
commit 375238ef85
2 changed files with 44 additions and 52 deletions

View File

@ -321,24 +321,20 @@ fieldset/AHB1ENR:
description: Ethernet Reception Clock Enable description: Ethernet Reception Clock Enable
bit_offset: 17 bit_offset: 17
bit_size: 1 bit_size: 1
- name: USB2OTGHSULPIEN - name: USB_OTG_HSEN
description: Enable USB_PHY2 clocks description: USB_OTG_HS Peripheral Clocks Enable
bit_offset: 18
bit_size: 1
- name: USB1OTGEN
description: USB1OTG Peripheral Clocks Enable
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB1ULPIEN - name: USB_OTG_HS_ULPIEN
description: USB_PHY1 Clocks Enable description: USB_OTG_HS ULPI clock enable
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
- name: USB2OTGEN - name: USB_OTG_FSEN
description: USB2OTG Peripheral Clocks Enable description: USB_OTG_FS Peripheral Clocks Enable
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
- name: USB2ULPIEN - name: USB_OTG_FS_ULPIEN
description: USB_PHY2 Clocks Enable description: USB_OTG_FS ULPI clock enable
bit_offset: 28 bit_offset: 28
bit_size: 1 bit_size: 1
fieldset/AHB1LPENR: fieldset/AHB1LPENR:
@ -372,11 +368,11 @@ fieldset/AHB1LPENR:
description: Ethernet Reception Clock Enable During CSleep Mode description: Ethernet Reception Clock Enable During CSleep Mode
bit_offset: 17 bit_offset: 17
bit_size: 1 bit_size: 1
- name: USB1OTGLPEN - name: USB_OTG_HSLPEN
description: USB1OTG peripheral clock enable during CSleep mode description: USB_OTG_HS peripheral clock enable during CSleep mode
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB1OTGHSULPILPEN - name: USB_OTG_HSHSULPILPEN
description: USB_PHY1 clock enable during CSleep mode description: USB_PHY1 clock enable during CSleep mode
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
@ -384,11 +380,11 @@ fieldset/AHB1LPENR:
description: USB_PHY1 clock enable during CSleep mode description: USB_PHY1 clock enable during CSleep mode
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
- name: USB2OTGLPEN - name: USB_OTG_FSLPEN
description: USB2OTG peripheral clock enable during CSleep mode description: USB_OTG_FS peripheral clock enable during CSleep mode
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
- name: USB2OTGHSULPILPEN - name: USB_OTG_FSHSULPILPEN
description: USB_PHY2 clocks enable during CSleep mode description: USB_PHY2 clocks enable during CSleep mode
bit_offset: 28 bit_offset: 28
bit_size: 1 bit_size: 1
@ -419,12 +415,12 @@ fieldset/AHB1RSTR:
description: ETH1MAC block reset description: ETH1MAC block reset
bit_offset: 15 bit_offset: 15
bit_size: 1 bit_size: 1
- name: USB1OTGRST - name: USB_OTG_HSRST
description: USB1OTG block reset description: USB_OTG_HS block reset
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB2OTGRST - name: USB_OTG_FSRST
description: USB2OTG block reset description: USB_OTG_FS block reset
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
fieldset/AHB2ENR: fieldset/AHB2ENR:
@ -1811,16 +1807,16 @@ fieldset/C1_AHB1ENR:
description: Ethernet Reception Clock Enable description: Ethernet Reception Clock Enable
bit_offset: 17 bit_offset: 17
bit_size: 1 bit_size: 1
- name: USB1OTGEN - name: USB_OTG_HSEN
description: USB1OTG Peripheral Clocks Enable description: USB_OTG_HS Peripheral Clocks Enable
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB1ULPIEN - name: USB1ULPIEN
description: USB_PHY1 Clocks Enable description: USB_PHY1 Clocks Enable
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
- name: USB2OTGEN - name: USB_OTG_FSEN
description: USB2OTG Peripheral Clocks Enable description: USB_OTG_FS Peripheral Clocks Enable
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
- name: USB2ULPIEN - name: USB2ULPIEN
@ -1858,16 +1854,16 @@ fieldset/C1_AHB1LPENR:
description: Ethernet Reception Clock Enable During CSleep Mode description: Ethernet Reception Clock Enable During CSleep Mode
bit_offset: 17 bit_offset: 17
bit_size: 1 bit_size: 1
- name: USB1OTGLPEN - name: USB_OTG_HSLPEN
description: USB1OTG peripheral clock enable during CSleep mode description: USB_OTG_HS peripheral clock enable during CSleep mode
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB1ULPILPEN - name: USB1ULPILPEN
description: USB_PHY1 clock enable during CSleep mode description: USB_PHY1 clock enable during CSleep mode
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
- name: USB2OTGLPEN - name: USB_OTG_FSLPEN
description: USB2OTG peripheral clock enable during CSleep mode description: USB_OTG_FS peripheral clock enable during CSleep mode
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
- name: USB2ULPILPEN - name: USB2ULPILPEN

View File

@ -245,24 +245,20 @@ fieldset/AHB1ENR:
description: Ethernet Reception Clock Enable description: Ethernet Reception Clock Enable
bit_offset: 17 bit_offset: 17
bit_size: 1 bit_size: 1
- name: USB2OTGHSULPIEN - name: USB_OTG_HSEN
description: Enable USB_PHY2 clocks description: USB_OTG_HS Peripheral Clocks Enable
bit_offset: 18
bit_size: 1
- name: USB1OTGEN
description: USB1OTG Peripheral Clocks Enable
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB1ULPIEN - name: USB_OTG_HS_ULPIEN
description: USB_PHY1 Clocks Enable description: USB_OTG_HS ULPI clock enable
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
- name: USB2OTGEN - name: USB_OTG_FSEN
description: USB2OTG Peripheral Clocks Enable description: USB_OTG_FS Peripheral Clocks Enable
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
- name: USB2ULPIEN - name: USB_OTG_FS_ULPIEN
description: USB_PHY2 Clocks Enable description: USB_OTG_FS ULPI clock enable
bit_offset: 28 bit_offset: 28
bit_size: 1 bit_size: 1
fieldset/AHB1LPENR: fieldset/AHB1LPENR:
@ -296,11 +292,11 @@ fieldset/AHB1LPENR:
description: Ethernet Reception Clock Enable During CSleep Mode description: Ethernet Reception Clock Enable During CSleep Mode
bit_offset: 17 bit_offset: 17
bit_size: 1 bit_size: 1
- name: USB1OTGLPEN - name: USB_OTG_HSLPEN
description: USB1OTG peripheral clock enable during CSleep mode description: USB_OTG_HS peripheral clock enable during CSleep mode
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB1OTGHSULPILPEN - name: USB_OTG_HSHSULPILPEN
description: USB_PHY1 clock enable during CSleep mode description: USB_PHY1 clock enable during CSleep mode
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
@ -308,11 +304,11 @@ fieldset/AHB1LPENR:
description: USB_PHY1 clock enable during CSleep mode description: USB_PHY1 clock enable during CSleep mode
bit_offset: 26 bit_offset: 26
bit_size: 1 bit_size: 1
- name: USB2OTGLPEN - name: USB_OTG_FSLPEN
description: USB2OTG peripheral clock enable during CSleep mode description: USB_OTG_FS peripheral clock enable during CSleep mode
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
- name: USB2OTGHSULPILPEN - name: USB_OTG_FSHSULPILPEN
description: USB_PHY2 clocks enable during CSleep mode description: USB_PHY2 clocks enable during CSleep mode
bit_offset: 28 bit_offset: 28
bit_size: 1 bit_size: 1
@ -343,12 +339,12 @@ fieldset/AHB1RSTR:
description: ETH1MAC block reset description: ETH1MAC block reset
bit_offset: 15 bit_offset: 15
bit_size: 1 bit_size: 1
- name: USB1OTGRST - name: USB_OTG_HSRST
description: USB1OTG block reset description: USB_OTG_HS block reset
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
- name: USB2OTGRST - name: USB_OTG_FSRST
description: USB2OTG block reset description: USB_OTG_FS block reset
bit_offset: 27 bit_offset: 27
bit_size: 1 bit_size: 1
fieldset/AHB2ENR: fieldset/AHB2ENR: