Skip to content

Commit

Permalink
dts\arm\st\g4: Fix ADC instances naming
Browse files Browse the repository at this point in the history
ADC instances start with ADC_1
Fixes #24718

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information
ABOSTM authored and ioannisg committed Apr 27, 2020
1 parent cce7165 commit 18a2192
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dts/arm/st/g4/stm32g4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@
/*
* Both adc instances cannot be used in parallel right now.
*/
adc0: adc@50000000 {
adc1: adc@50000000 {
compatible = "st,stm32-adc";
reg = <0x50000000 0x100>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00002000>;
interrupts = <18 0>;
status = "disabled";
label = "ADC_0";
label = "ADC_1";
#io-channel-cells = <1>;
};

adc1: adc@50000100 {
adc2: adc@50000100 {
compatible = "st,stm32-adc";
reg = <0x50000100 0x100>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00002000>;
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
label = "ADC_2";
#io-channel-cells = <1>;
};

Expand Down

0 comments on commit 18a2192

Please sign in to comment.