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:
parent
5eb7862f7f
commit
8d106d198e
5 changed files with 95 additions and 2 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue