Skip to content

Commit b5e26c6

Browse files
feilongflcarlescufi
authored andcommitted
dts: gd32e103: add dac support.
enable dac. Signed-off-by: YuLong Yao <[email protected]>
1 parent adfc822 commit b5e26c6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dts/arm/gigadevice/gd32e10x/gd32e10x.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@
8989
label = "USART_4";
9090
};
9191

92+
dac: dac@40007400 {
93+
compatible = "gd,gd32-dac";
94+
reg = <0x40007400 0x400>;
95+
rcu-periph-clock = <0x71d>;
96+
num-channels = <2>;
97+
label = "DAC";
98+
status = "disabled";
99+
#io-channel-cells = <1>;
100+
};
101+
92102
i2c0: i2c@40005400 {
93103
compatible = "gd,gd32-i2c";
94104
reg = <0x40005400 0x400>;

0 commit comments

Comments
 (0)