boards: arm: stm32l562e_dk: Enabling DAC1 support in device tree
This commit enables DAC1 support for stm32l562e_dk platform in device tree. Signed-off-by: Sidhdharth Yadav <sidhdharth.yadav@hcl.com>
This commit is contained in:
parent
dc75c6169c
commit
ec58d19581
4 changed files with 10 additions and 0 deletions
|
@ -172,6 +172,8 @@ The Zephyr stm32l562e_dk board configuration supports the following hardware fea
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| PWM | on-chip | PWM |
|
| PWM | on-chip | PWM |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
| DAC | on-chip | DAC Controller |
|
||||||
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
||||||
Other hardware features are not yet supported on this Zephyr port.
|
Other hardware features are not yet supported on this Zephyr port.
|
||||||
|
|
||||||
|
@ -196,6 +198,7 @@ Default Zephyr Peripheral Mapping:
|
||||||
- USER_PB : PC13
|
- USER_PB : PC13
|
||||||
- LD10 : PG12
|
- LD10 : PG12
|
||||||
- PWM_2_CH1 : PA0
|
- PWM_2_CH1 : PA0
|
||||||
|
- DAC1 : PA4
|
||||||
|
|
||||||
System Clock
|
System Clock
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -12,5 +12,6 @@ supported:
|
||||||
- lptim
|
- lptim
|
||||||
- pwm
|
- pwm
|
||||||
- watchdog
|
- watchdog
|
||||||
|
- dac
|
||||||
ram: 192
|
ram: 192
|
||||||
flash: 512
|
flash: 512
|
||||||
|
|
|
@ -124,3 +124,8 @@
|
||||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&dac1 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&dac1_out1_pa4>;
|
||||||
|
};
|
||||||
|
|
|
@ -10,5 +10,6 @@ supported:
|
||||||
- i2c
|
- i2c
|
||||||
- lsm6dso
|
- lsm6dso
|
||||||
- lptim
|
- lptim
|
||||||
|
- dac
|
||||||
ram: 192
|
ram: 192
|
||||||
flash: 512
|
flash: 512
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue