Commit 3735c771 authored by Antoine Boche's avatar Antoine Boche Committed by Clément Foucher
Browse files

Updated board ADC pin configuration.

parent eff00d2d
/ { / {
mychannels: adc-inputs { mychannels: adc-inputs {
compatible = "adc-inputs"; compatible = "adc-inputs";
v1-low { v1-low {
io-channels = <&adc2 1>; io-channels = <&adc2 1>;
differential;
label = "V1_LOW"; label = "V1_LOW";
}; };
...@@ -14,8 +12,7 @@ ...@@ -14,8 +12,7 @@
}; };
v2-low { v2-low {
io-channels = <&adc2 3>; io-channels = <&adc2 2>;
differential;
label = "V2_LOW"; label = "V2_LOW";
}; };
...@@ -25,8 +22,7 @@ ...@@ -25,8 +22,7 @@
}; };
v-high { v-high {
io-channels = <&adc2 11>; io-channels = <&adc2 3>;
differential;
label = "V_HIGH"; label = "V_HIGH";
}; };
...@@ -34,6 +30,5 @@ ...@@ -34,6 +30,5 @@
io-channels = <&adc1 8>; io-channels = <&adc1 8>;
label = "I_HIGH"; label = "I_HIGH";
}; };
}; };
}; };
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
}; };
&adc2 { &adc2 {
pinctrl-0 = <&adc2_in1_pa0 &adc2_in2_pa1 &adc2_in3_pa6 &adc2_in4_pa7 &adc2_in11_pc5 &adc2_in12_pb2>; pinctrl-0 = <&adc2_in1_pa0 &adc2_in2_pa1 &adc2_in3_pa6>;
status = "okay"; status = "okay";
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment