From ba32dc68d6887365e91cff6b5f403ca7d1aef021 Mon Sep 17 00:00:00 2001 From: Matthias Freese Date: Tue, 3 May 2022 12:30:31 +0200 Subject: [PATCH] dts: arm: st: f1: added DAC Adds DAC to stm32f100Xb, stm32f103Xc, stm32f105 (included by stm32f107). Signed-off-by: Matthias Freese --- dts/arm/st/f1/stm32f100Xb.dtsi | 9 +++++++++ dts/arm/st/f1/stm32f103Xc.dtsi | 9 +++++++++ dts/arm/st/f1/stm32f105.dtsi | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/dts/arm/st/f1/stm32f100Xb.dtsi b/dts/arm/st/f1/stm32f100Xb.dtsi index 1dab11abfd9a1..ca18a4e718cb7 100644 --- a/dts/arm/st/f1/stm32f100Xb.dtsi +++ b/dts/arm/st/f1/stm32f100Xb.dtsi @@ -42,5 +42,14 @@ status = "disabled"; label = "SPI_2"; }; + + dac1: dac@40007400 { + compatible = "st,stm32-dac"; + reg = <0x40007400 0x400>; + clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>; + status = "disabled"; + label = "DAC_1"; + #io-channel-cells = <1>; + }; }; }; diff --git a/dts/arm/st/f1/stm32f103Xc.dtsi b/dts/arm/st/f1/stm32f103Xc.dtsi index 98f1249c005ad..cf1c2caa4647c 100644 --- a/dts/arm/st/f1/stm32f103Xc.dtsi +++ b/dts/arm/st/f1/stm32f103Xc.dtsi @@ -92,6 +92,15 @@ status = "disabled"; }; + dac1: dac@40007400 { + compatible = "st,stm32-dac"; + reg = <0x40007400 0x400>; + clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>; + status = "disabled"; + label = "DAC_1"; + #io-channel-cells = <1>; + }; + pinctrl: pin-controller@40010800 { reg = <0x40010800 0x2000>; diff --git a/dts/arm/st/f1/stm32f105.dtsi b/dts/arm/st/f1/stm32f105.dtsi index 9e71b7020e967..be2e83d5e228d 100644 --- a/dts/arm/st/f1/stm32f105.dtsi +++ b/dts/arm/st/f1/stm32f105.dtsi @@ -55,6 +55,15 @@ sample-point = <875>; }; + dac1: dac@40007400 { + compatible = "st,stm32-dac"; + reg = <0x40007400 0x400>; + clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>; + status = "disabled"; + label = "DAC_1"; + #io-channel-cells = <1>; + }; + uart4: serial@40004c00 { compatible = "st,stm32-uart"; reg = <0x40004c00 0x400>;