dts\arm\st\g4: Fix ADC instances naming

ADC instances start with ADC_1
Fixes #24718

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2020-04-27 10:11:40 +02:00 committed by Ioannis Glaropoulos
commit 18a21920e4

View file

@ -34,23 +34,23 @@
/* /*
* Both adc instances cannot be used in parallel right now. * Both adc instances cannot be used in parallel right now.
*/ */
adc0: adc@50000000 { adc1: adc@50000000 {
compatible = "st,stm32-adc"; compatible = "st,stm32-adc";
reg = <0x50000000 0x100>; reg = <0x50000000 0x100>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00002000>; clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00002000>;
interrupts = <18 0>; interrupts = <18 0>;
status = "disabled"; status = "disabled";
label = "ADC_0"; label = "ADC_1";
#io-channel-cells = <1>; #io-channel-cells = <1>;
}; };
adc1: adc@50000100 { adc2: adc@50000100 {
compatible = "st,stm32-adc"; compatible = "st,stm32-adc";
reg = <0x50000100 0x100>; reg = <0x50000100 0x100>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00002000>; clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00002000>;
interrupts = <18 0>; interrupts = <18 0>;
status = "disabled"; status = "disabled";
label = "ADC_1"; label = "ADC_2";
#io-channel-cells = <1>; #io-channel-cells = <1>;
}; };