Commit 25329b23 authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Alexandre Torgue

ARM: dts: stm32: Add DAC support on stm32f429

Add support for DAC (Digital to Analog Converter) to STM32F429.
STM32F429 DAC has two output channels.
Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: default avatarJoanthan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent e76a829c
...@@ -361,6 +361,31 @@ i2c1: i2c@40005400 { ...@@ -361,6 +361,31 @@ i2c1: i2c@40005400 {
status = "disabled"; status = "disabled";
}; };
dac: dac@40007400 {
compatible = "st,stm32f4-dac-core";
reg = <0x40007400 0x400>;
resets = <&rcc STM32F4_APB1_RESET(DAC)>;
clocks = <&rcc 0 STM32F4_APB1_CLOCK(DAC)>;
clock-names = "pclk";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
dac1: dac@1 {
compatible = "st,stm32-dac";
#io-channels-cells = <1>;
reg = <1>;
status = "disabled";
};
dac2: dac@2 {
compatible = "st,stm32-dac";
#io-channels-cells = <1>;
reg = <2>;
status = "disabled";
};
};
usart7: serial@40007800 { usart7: serial@40007800 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-usart", "st,stm32-uart";
reg = <0x40007800 0x400>; reg = <0x40007800 0x400>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment