1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/iio/adc/rockchip-saradc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip Successive Approximation Register (SAR) A/D Converter
10 - Heiko Stuebner <heiko@sntech.de>
15 - const: rockchip,saradc
16 - const: rockchip,rk3066-tsadc
17 - const: rockchip,rk3399-saradc
20 - rockchip,px30-saradc
21 - rockchip,rk3308-saradc
22 - rockchip,rk3328-saradc
23 - rockchip,rv1108-saradc
24 - const: rockchip,rk3399-saradc
34 - description: converter clock
35 - description: peripheral clock
50 The regulator supply for the ADC reference voltage.
64 additionalProperties: false
68 #include <dt-bindings/clock/rk3288-cru.h>
69 #include <dt-bindings/interrupt-controller/arm-gic.h>
70 saradc: saradc@2006c000 {
71 compatible = "rockchip,saradc";
72 reg = <0x2006c000 0x100>;
73 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
74 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
75 clock-names = "saradc", "apb_pclk";
76 resets = <&cru SRST_SARADC>;
77 reset-names = "saradc-apb";
78 vref-supply = <&vcc18>;
79 #io-channel-cells = <1>;