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

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

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

View file

@ -158,6 +158,8 @@ The Zephyr nucleo_l552ze_q board configuration supports the following hardware f
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
| DAC | on-chip | DAC Controller | | DAC | on-chip | DAC Controller |
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
| ADC | on-chip | ADC Controller |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port. Other hardware features are not yet supported on this Zephyr port.
@ -213,6 +215,7 @@ Default Zephyr Peripheral Mapping:
- USER_PB : PC13 - USER_PB : PC13
- LD2 : PA5 - LD2 : PA5
- DAC1 : PA4 - DAC1 : PA4
- ADC1 : PC0
System Clock System Clock
------------ ------------

View file

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

View file

@ -8,5 +8,6 @@ toolchain:
supported: supported:
- gpio - gpio
- dac - dac
- adc
ram: 192 ram: 192
flash: 512 flash: 512