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:
parent
c691b50420
commit
bfa5427b12
3 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
|
|
|
@ -8,5 +8,6 @@ toolchain:
|
||||||
supported:
|
supported:
|
||||||
- gpio
|
- gpio
|
||||||
- dac
|
- dac
|
||||||
|
- adc
|
||||||
ram: 192
|
ram: 192
|
||||||
flash: 512
|
flash: 512
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue