summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sama5d2.dtsi
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2018-08-27 15:57:12 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-08-27 16:09:20 +0200
commit368e824b1d4e94c10d84aab6569805c511bbedaa (patch)
treec6f8e10ef3d5f8e4d06bc95167c690f24b7e9ba9 /arch/arm/boot/dts/sama5d2.dtsi
parentLinux 4.19-rc1 (diff)
downloadlinux-368e824b1d4e94c10d84aab6569805c511bbedaa.tar.xz
linux-368e824b1d4e94c10d84aab6569805c511bbedaa.zip
ARM: dts: at91: sama5d2: add channel cells for ADC device
Preparing the ADC device to connect channel consumer drivers Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d2.dtsi')
-rw-r--r--arch/arm/boot/dts/sama5d2.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 61f68e5c48e9..f06ba9950d90 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -47,6 +47,7 @@
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/at91.h>
+#include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
/ {
model = "Atmel SAMA5D2 family SoC";
@@ -1437,6 +1438,7 @@
atmel,max-sample-rate-hz = <20000000>;
atmel,startup-time-ms = <4>;
atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
+ #io-channel-cells = <1>;
status = "disabled";
};