dts: stm32f446: add missing adc2 and adc3
The STM32F446 product line includes 3 ADCs, but adc2 and adc3 were missing the DTS. Signed-off-by: Diego Herranz <diegoherranz@diegoherranz.com>
This commit is contained in:
parent
254aae12e3
commit
0ac898026d
|
@ -106,6 +106,38 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
adc2: adc@40012100 {
|
||||
compatible = "st,stm32-adc";
|
||||
reg = <0x40012100 0x050>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000200>;
|
||||
interrupts = <18 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 15 28 56 84 112 144 480>;
|
||||
st,adc-clock-source = <SYNC>;
|
||||
st,adc-sequencer = <FULLY_CONFIGURABLE>;
|
||||
};
|
||||
|
||||
adc3: adc@40012200 {
|
||||
compatible = "st,stm32-adc";
|
||||
reg = <0x40012200 0x050>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000400>;
|
||||
interrupts = <18 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 15 28 56 84 112 144 480>;
|
||||
st,adc-clock-source = <SYNC>;
|
||||
st,adc-sequencer = <FULLY_CONFIGURABLE>;
|
||||
};
|
||||
|
||||
dac1: dac@40007400 {
|
||||
compatible = "st,stm32-dac";
|
||||
reg = <0x40007400 0x400>;
|
||||
|
|
Loading…
Reference in a new issue