]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: berlin: add an ADC node for the BG2Q
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 18 May 2015 09:19:20 +0000 (11:19 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 18 May 2015 16:10:16 +0000 (18:10 +0200)
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>
arch/arm/boot/dts/berlin2q.dtsi

index 83ecfbea233ee3b23e8c40ba132140c274b52ea0..5a9d416abe8696fea0e966f469eacc37603e7c8f 100644 (file)
                                                function = "twsi3";
                                        };
                                };
+
+                               adc: adc {
+                                       compatible = "marvell,berlin2-adc";
+                                       interrupts = <12>, <14>;
+                                       interrupt-names = "adc", "tsen";
+                               };
                        };
 
                        sic: interrupt-controller@e000 {