stm32g4: adc345: set resolutions & sampling-times in dtsi
bring back adc3/4/5 with latest "st,stm32-adc" required properties: resolutions & sampling-times Signed-off-by: Cyril Fougeray <cyril.fougeray@worldcoin.org>
This commit is contained in:
parent
9d6ced3822
commit
a8ed28ab6f
2 changed files with 15 additions and 0 deletions
|
@ -34,6 +34,11 @@
|
|||
interrupts = <61 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
STM32_ADC_RES(6, 0x03)>;
|
||||
sampling-times = <3 7 13 25 48 93 248 641>;
|
||||
};
|
||||
|
||||
adc5: adc@50000600 {
|
||||
|
@ -44,6 +49,11 @@
|
|||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <4>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
STM32_ADC_RES(6, 0x03)>;
|
||||
sampling-times = <3 7 13 25 48 93 248 641>;
|
||||
};
|
||||
|
||||
spi4: spi@40013c00 {
|
||||
|
|
|
@ -65,6 +65,11 @@
|
|||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
STM32_ADC_RES(6, 0x03)>;
|
||||
sampling-times = <3 7 13 25 48 93 248 641>;
|
||||
};
|
||||
|
||||
uart5: serial@40005000 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue