Przeglądaj źródła

ARM: berlin: add an ADC node for the BG2Q

This patch adds the ADC node for the Berlin BG2Q, using the newly added
Berlin IIO ADC driver.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Antoine Tenart 10 lat temu
rodzic
commit
5be2361160
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      arch/arm/boot/dts/berlin2q.dtsi

+ 6 - 0
arch/arm/boot/dts/berlin2q.dtsi

@@ -564,6 +564,12 @@
 						function = "twsi3";
 					};
 				};
+
+				adc: adc {
+					compatible = "marvell,berlin2-adc";
+					interrupts = <12>, <14>;
+					interrupt-names = "adc", "tsen";
+				};
 			};
 
 			sic: interrupt-controller@e000 {