diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2018-04-18 17:46:00 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2018-05-02 17:18:59 +0200 |
commit | da6cddc7e8a40e6e8617deaae905c3e7bfcfdf94 (patch) | |
tree | a8107e34cb5cda44ce2bd3c6c2dd7f3f14364a01 /arch/arm/boot/dts/stm32mp157c.dtsi | |
parent | ARM: dts: stm32: add reset binding on stm32mp157c (diff) | |
download | linux-da6cddc7e8a40e6e8617deaae905c3e7bfcfdf94.tar.xz linux-da6cddc7e8a40e6e8617deaae905c3e7bfcfdf94.zip |
ARM: dts: stm32: Add DAC support to stm32mp157c
Add support for DAC (Digital to Analog Converter) to STM32MP157C.
STM32MP157C 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/boot/dts/stm32mp157c.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stm32mp157c.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index ee3e44032dd2..9c1a6c48d318 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -343,6 +343,30 @@ status = "disabled"; }; + dac: dac@40017000 { + compatible = "st,stm32h7-dac-core"; + reg = <0x40017000 0x400>; + clocks = <&rcc DAC12>; + 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"; + }; + }; + uart7: serial@40018000 { compatible = "st,stm32h7-uart"; reg = <0x40018000 0x400>; |