Skip to content

Commit ba32dc6

Browse files
committed
dts: arm: st: f1: added DAC
Adds DAC to stm32f100Xb, stm32f103Xc, stm32f105 (included by stm32f107). Signed-off-by: Matthias Freese <[email protected]>
1 parent 0aa0913 commit ba32dc6

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

dts/arm/st/f1/stm32f100Xb.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,14 @@
4242
status = "disabled";
4343
label = "SPI_2";
4444
};
45+
46+
dac1: dac@40007400 {
47+
compatible = "st,stm32-dac";
48+
reg = <0x40007400 0x400>;
49+
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>;
50+
status = "disabled";
51+
label = "DAC_1";
52+
#io-channel-cells = <1>;
53+
};
4554
};
4655
};

dts/arm/st/f1/stm32f103Xc.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@
9292
status = "disabled";
9393
};
9494

95+
dac1: dac@40007400 {
96+
compatible = "st,stm32-dac";
97+
reg = <0x40007400 0x400>;
98+
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>;
99+
status = "disabled";
100+
label = "DAC_1";
101+
#io-channel-cells = <1>;
102+
};
103+
95104
pinctrl: pin-controller@40010800 {
96105
reg = <0x40010800 0x2000>;
97106

dts/arm/st/f1/stm32f105.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@
5555
sample-point = <875>;
5656
};
5757

58+
dac1: dac@40007400 {
59+
compatible = "st,stm32-dac";
60+
reg = <0x40007400 0x400>;
61+
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>;
62+
status = "disabled";
63+
label = "DAC_1";
64+
#io-channel-cells = <1>;
65+
};
66+
5867
uart4: serial@40004c00 {
5968
compatible = "st,stm32-uart";
6069
reg = <0x40004c00 0x400>;

0 commit comments

Comments
 (0)