File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 18
18
bias-disable;
19
19
input-enable;
20
20
};
21
+
22
+ /* ADC0 */
23
+ adc0_ch0: adc0_ch0 {
24
+ pinmux = <7 DIO7_ADC0_AREFM>;
25
+ bias-disable;
26
+ input-enable;
27
+ };
28
+ adc0_ch2: adc0_ch2 {
29
+ pinmux = <5 DIO5_ADC2>;
30
+ bias-disable;
31
+ input-enable;
32
+ };
33
+ adc0_ch3: adc0_ch3 {
34
+ pinmux = <2 DIO2_ADC3>;
35
+ bias-disable;
36
+ input-enable;
37
+ };
38
+ adc0_ch4: adc0_ch4 {
39
+ pinmux = <1 DIO1_ADC4>;
40
+ bias-disable;
41
+ input-enable;
42
+ };
43
+ adc0_ch6: adc0_ch6 {
44
+ pinmux = <25 DIO25_ADC6>;
45
+ bias-disable;
46
+ input-enable;
47
+ };
48
+ adc0_ch8: adc0_ch8 {
49
+ pinmux = <23 DIO23_ADC8_LPCP_LPCM>;
50
+ bias-disable;
51
+ input-enable;
52
+ };
21
53
};
Original file line number Diff line number Diff line change 77
77
&aes {
78
78
status = "okay";
79
79
};
80
+
81
+ &adc0 {
82
+ status = "okay";
83
+ pinctrl-0 = <&adc0_ch0
84
+ &adc0_ch2
85
+ &adc0_ch3
86
+ &adc0_ch4
87
+ &adc0_ch6
88
+ &adc0_ch8>;
89
+ pinctrl-names = "default";
90
+ };
You can’t perform that action at this time.
0 commit comments