diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-07-27 10:12:18 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2017-07-27 10:15:34 +0300 |
commit | 1536dec45e77ed1fc8e609e6e158f2696e479050 (patch) | |
tree | e4034ebb8d384e63af5b8d033db1b566b3bf8665 /arch/arm | |
parent | 25329b23fae96b4c0b77c58aad4a20d65b8a45ec (diff) | |
download | linux-1536dec45e77ed1fc8e609e6e158f2696e479050.tar.xz |
ARM: dts: stm32: Add DAC support on stm32h743
Add support for DAC (Digital to Analog Converter) to STM32H743.
STM32H743 DAC has two output channels.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/stm32h743.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index 343bf4a0fb0b..c93b48f9a46a 100644 --- a/arch/arm/boot/dts/stm32h743.dtsi +++ b/arch/arm/boot/dts/stm32h743.dtsi @@ -74,6 +74,30 @@ clocks = <&timer_clk>; }; + dac: dac@40007400 { + compatible = "st,stm32h7-dac-core"; + reg = <0x40007400 0x400>; + clocks = <&timer_clk>; + 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"; + }; + }; + usart1: serial@40011000 { compatible = "st,stm32f7-usart", "st,stm32f7-uart"; reg = <0x40011000 0x400>; |