drivers: adc: Add STM32L1X ADC support

Add ADC driver support for STM32L1X SoC series.

Signed-off-by: Takumi Ando <takumi@t15.red>
This commit is contained in:
Takumi Ando 2020-03-18 08:52:28 +09:00 committed by Kumar Gala
commit 8d106d198e
5 changed files with 95 additions and 2 deletions

View file

@ -112,6 +112,16 @@
label = "UART_1";
};
adc1: adc@40012400 {
compatible = "st,stm32-adc";
reg = <0x40012400 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000200>;
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
pinctrl: pin-controller@40020000 {
compatible = "st,stm32-pinmux";
#address-cells = <1>;