Skip to content

Commit 7b86ba5

Browse files
gautierg-stcarlescufi
authored andcommitted
dts: arm: add new adc compatible to stm32
Add the new ADC compatibles for STM32F1 & F373, and for F2, F4, F7 & L1. Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 8408de7 commit 7b86ba5

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

dts/arm/st/f1/stm32f1.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
};
334334

335335
adc1: adc@40012400 {
336-
compatible = "st,stm32-adc";
336+
compatible = "st,stm32f1-adc", "st,stm32-adc";
337337
reg = <0x40012400 0x400>;
338338
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000200>;
339339
interrupts = <18 0>;

dts/arm/st/f2/stm32f2.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
};
361361

362362
adc1: adc@40012000 {
363-
compatible = "st,stm32-adc";
363+
compatible = "st,stm32f4-adc", "st,stm32-adc";
364364
reg = <0x40012000 0x400>;
365365
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000100>;
366366
interrupts = <18 0>;

dts/arm/st/f3/stm32f373.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
};
178178

179179
adc1: adc@40012400 {
180-
compatible = "st,stm32-adc";
180+
compatible = "st,stm32f1-adc", "st,stm32-adc";
181181
reg = <0x40012400 0x400>;
182182
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000200>;
183183
interrupts = <18 0>;

dts/arm/st/f4/stm32f4.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
};
508508

509509
adc1: adc@40012000 {
510-
compatible = "st,stm32-adc";
510+
compatible = "st,stm32f4-adc", "st,stm32-adc";
511511
reg = <0x40012000 0x400>;
512512
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000100>;
513513
interrupts = <18 0>;

dts/arm/st/f7/stm32f7.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
};
736736

737737
adc1: adc@40012000 {
738-
compatible = "st,stm32-adc";
738+
compatible = "st,stm32f4-adc", "st,stm32-adc";
739739
reg = <0x40012000 0x50>;
740740
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000100>;
741741
interrupts = <18 0>;
@@ -751,7 +751,7 @@
751751
};
752752

753753
adc2: adc@40012100 {
754-
compatible = "st,stm32-adc";
754+
compatible = "st,stm32f4-adc", "st,stm32-adc";
755755
reg = <0x40012100 0x50>;
756756
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000200>;
757757
interrupts = <18 0>;
@@ -765,7 +765,7 @@
765765
};
766766

767767
adc3: adc@40012200 {
768-
compatible = "st,stm32-adc";
768+
compatible = "st,stm32f4-adc", "st,stm32-adc";
769769
reg = <0x40012200 0x50>;
770770
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000400>;
771771
interrupts = <18 0>;

dts/arm/st/l1/stm32l1.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
};
211211

212212
adc1: adc@40012400 {
213-
compatible = "st,stm32-adc";
213+
compatible = "st,stm32f4-adc", "st,stm32-adc";
214214
reg = <0x40012400 0x400>;
215215
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000200>;
216216
interrupts = <18 0>;

0 commit comments

Comments
 (0)