summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32f429.dtsi
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2017-07-26 19:35:38 +0300
committerAlexandre Torgue <alexandre.torgue@st.com>2017-07-27 10:15:16 +0300
commit25329b23fae96b4c0b77c58aad4a20d65b8a45ec (patch)
treee2b09c025b7fa6bf3fc16c14ccfda1f70ba7a276 /arch/arm/boot/dts/stm32f429.dtsi
parente76a829cb51286da58cec43f0c8702c3fe9a8d7b (diff)
downloadlinux-25329b23fae96b4c0b77c58aad4a20d65b8a45ec.tar.xz
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: Fabrice Gasnier <fabrice.gasnier@st.com> Acked-by: Joanthan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f429.dtsi')
-rw-r--r--arch/arm/boot/dts/stm32f429.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index a8113dc879cf..dd7e99b1f43b 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -361,6 +361,31 @@
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 {
compatible = "st,stm32-usart", "st,stm32-uart";
reg = <0x40007800 0x400>;