Skip to content

Commit eb9d5c2

Browse files
sgfeniexhenrikbrixandersen
authored andcommitted
dts: atmel: sam0: dac: enable dac driver for SAMC21
This is only present in the SAMC21 soc Signed-off-by: Stefan Giroux <[email protected]>
1 parent de1673a commit eb9d5c2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

dts/arm/atmel/samc21.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,18 @@
8383
bosch,mram-cfg = <0x0 28 8 3 3 0 1 1>;
8484
divider = <1>;
8585
};
86+
87+
dac: dac@42005400 {
88+
compatible = "atmel,sam0-dac";
89+
reg = <0x42005400 0x10>;
90+
interrupts = <28 0>;
91+
status = "disabled";
92+
93+
#io-channel-cells = <0>;
94+
clocks = <&gclk 36>, <&mclk 0x1c 21>;
95+
clock-names = "GCLK", "MCLK";
96+
atmel,assigned-clocks = <&gclk 0>;
97+
atmel,assigned-clock-names = "GCLK";
98+
};
8699
};
87100
};

0 commit comments

Comments
 (0)