boards: arm: stm32l562e_dk: Enabling ADC support in device tree

This commit enables ADC support in stm32l562e_dk platform in
device tree.

Signed-off-by: Sidhdharth Yadav <sidhdharth.yadav@hcl.com>
This commit is contained in:
Sidhdharth Yadav 2021-07-05 12:38:16 +05:30 committed by Anas Nashif
commit c691b50420
3 changed files with 9 additions and 0 deletions

View file

@ -174,6 +174,8 @@ The Zephyr stm32l562e_dk board configuration supports the following hardware fea
+-----------+------------+-------------------------------------+
| DAC | on-chip | DAC Controller |
+-----------+------------+-------------------------------------+
| ADC | on-chip | ADC Controller |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port.
@ -199,6 +201,7 @@ Default Zephyr Peripheral Mapping:
- LD10 : PG12
- PWM_2_CH1 : PA0
- DAC1 : PA4
- ADC1 : PC4
System Clock
------------

View file

@ -13,5 +13,6 @@ supported:
- pwm
- watchdog
- dac
- adc
ram: 192
flash: 512

View file

@ -129,3 +129,8 @@
status = "okay";
pinctrl-0 = <&dac1_out1_pa4>;
};
&adc1 {
pinctrl-0 = <&adc1_in13_pc4>;
status = "okay";
};