1/* 2 * Copyright (c) 2021 BrainCo Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <mem.h> 8#include <gd/gd32f3x0/gd32f3x0.dtsi> 9 10/ { 11 soc { 12 dac: dac@40007400 { 13 compatible = "gd,gd32-dac"; 14 reg = <0x40007400 0x400>; 15 clocks = <&cctl GD32_CLOCK_DAC>; 16 resets = <&rctl GD32_RESET_DAC>; 17 num-channels = <1>; 18 status = "disabled"; 19 #io-channel-cells = <1>; 20 }; 21 }; 22}; 23