summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2015-05-18 12:19:20 +0300
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-05-18 19:10:16 +0300
commit5be2361160cdbbfcc580b82a440218c115c15504 (patch)
tree99c7c415f9e633495d70f842a41b6b55e675d351
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>
-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 83ecfbea233e..5a9d416abe86 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 {