dts: gd32e103: add dac support.

enable dac.


Signed-off-by: YuLong Yao <feilongphone@gmail.com>
This commit is contained in:
YuLong Yao 2022-02-27 16:05:06 +08:00 committed by Carles Cufí
parent adfc82206b
commit b5e26c678f

View file

@ -89,6 +89,16 @@
label = "USART_4";
};
dac: dac@40007400 {
compatible = "gd,gd32-dac";
reg = <0x40007400 0x400>;
rcu-periph-clock = <0x71d>;
num-channels = <2>;
label = "DAC";
status = "disabled";
#io-channel-cells = <1>;
};
i2c0: i2c@40005400 {
compatible = "gd,gd32-i2c";
reg = <0x40005400 0x400>;