1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/allwinner,sun20i-d1-gpadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner D1 General Purpose ADC
10 - Maksim Kiselev <bigunclemax@gmail.com>
15 - allwinner,sun20i-d1-gpadc
39 "^channel@[0-9a-f]+$":
43 Represents the internal channels of the ADC.
54 unevaluatedProperties: false
64 additionalProperties: false
68 #include <dt-bindings/clock/sun20i-d1-ccu.h>
69 #include <dt-bindings/reset/sun20i-d1-ccu.h>
70 #include <dt-bindings/interrupt-controller/irq.h>
73 compatible = "allwinner,sun20i-d1-gpadc";
74 reg = <0x2009000 0x400>;
75 clocks = <&ccu CLK_BUS_GPADC>;
76 resets = <&ccu RST_BUS_GPADC>;
77 interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
78 #io-channel-cells = <1>;