File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 };
6464};
6565
66+ &adc {
67+ vddana-supply = <&vdd_3v3>;
68+ vref-supply = <&vdd_3v3>;
69+ pinctrl-names = "default";
70+ pinctrl-0 = <&pinctrl_adc_default>;
71+ status = "okay";
72+ };
73+
6674&flx0 {
6775 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
6876 status = "okay";
103111};
104112
105113&pioA {
114+ /*
115+ * There is no real pinmux for ADC, if the pin
116+ * is not requested by another peripheral then
117+ * the muxing is done when channel is enabled.
118+ * Requesting pins for ADC is GPIO is
119+ * encouraged to prevent conflicts and to
120+ * disable bias in order to be in the same
121+ * state when the pin is not muxed to the adc.
122+ */
123+ pinctrl_adc_default: adc_default {
124+ pinmux = <PIN_PD25__GPIO>,
125+ <PIN_PD26__GPIO>;
126+ bias-disable;
127+ };
128+
106129 pinctrl_flx0_default: flx0_usart_default {
107130 pinmux = <PIN_PB28__FLEXCOM0_IO0>,
108131 <PIN_PB29__FLEXCOM0_IO1>;
You can’t perform that action at this time.
0 commit comments