summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2015-05-18 09:19:20 (GMT)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-05-18 16:10:16 (GMT)
commit5be2361160cdbbfcc580b82a440218c115c15504 (patch)
tree99c7c415f9e633495d70f842a41b6b55e675d351 /arch/arm
parentf3f94f71a88343d3c1af63e32fc7ea74ab4ce7eb (diff)
downloadlinux-5be2361160cdbbfcc580b82a440218c115c15504.tar.xz
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/berlin2q.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 83ecfbe..5a9d416 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/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 {