dts: arm: stm32: add dts support for ADC1 of stm32

All series of stm32 have at least one ADC instance and this commit adds
one ADC node to the root dts file of each soc, and also adds fixing up
mappings to them.

Signed-off-by: Song Qiang <songqiang1304521@gmail.com>
This commit is contained in:
Song Qiang 2019-05-07 16:36:30 +08:00 committed by Anas Nashif
commit da56cad3a4
17 changed files with 174 additions and 0 deletions

View file

@ -293,6 +293,15 @@
#pwm-cells = <2>;
};
};
adc1: adc@40012400 {
compatible = "st,stm32-adc";
reg = <0x40012400 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000200>;
interrupts = <12 0>;
status = "disabled";
label = "ADC_1";
};
};
};