Skip to content

Commit 847c35b

Browse files
committed
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>
1 parent c5040a9 commit 847c35b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include <dt-bindings/dma/at91.h>
4848
#include <dt-bindings/interrupt-controller/irq.h>
4949
#include <dt-bindings/clock/at91.h>
50+
#include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
5051

5152
/ {
5253
model = "Atmel SAMA5D2 family SoC";
@@ -1481,6 +1482,7 @@
14811482
atmel,max-sample-rate-hz = <20000000>;
14821483
atmel,startup-time-ms = <4>;
14831484
atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
1485+
#io-channel-cells = <1>;
14841486
status = "disabled";
14851487
};
14861488

0 commit comments

Comments
 (0)