Skip to content

Commit 38a81f1

Browse files
dhanqunakartben
authored andcommitted
samples: dac: sam: Add missing pin configuration for sam_v71_xult
DAC pins are not defined for SAM V71(B) Xplained Ultra - this was causing device initialization to fail. This commit fixes that. Signed-off-by: Dhanesh S R <sr.dhanesh@protonmail.com>
1 parent 482d17f commit 38a81f1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

samples/drivers/dac/boards/sam_v71_xult_samv71q21.overlay

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@
55
dac-resolution = <12>;
66
};
77
};
8+
9+
&dacc{
10+
status = "okay";
11+
pinctrl-0 = <&dac_default>;
12+
pinctrl-names = "default";
13+
};
14+
15+
&pinctrl{
16+
dac_default: dac_default{
17+
group1 {
18+
pinmux = <PB13X_DACC_DAC0>;
19+
};
20+
};
21+
};

samples/drivers/dac/boards/sam_v71_xult_samv71q21b.overlay

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@
55
dac-resolution = <12>;
66
};
77
};
8+
9+
&dacc{
10+
status = "okay";
11+
pinctrl-0 = <&dac_default>;
12+
pinctrl-names = "default";
13+
};
14+
15+
&pinctrl{
16+
dac_default: dac_default{
17+
group1 {
18+
pinmux = <PB13X_DACC_DAC0>;
19+
};
20+
};
21+
};

0 commit comments

Comments
 (0)