1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/nuvoton,npcm750-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Nuvoton NPCM BMC Analog to Digital Converter (ADC)
10 - Tomer Maimon <tmaimon77@gmail.com>
13 The NPCM ADC is a 10-bit converter for eight channel inputs.
17 const: nuvoton,npcm750-adc
24 description: ADC interrupt, should be set for falling edge.
31 description: If not provided the defulat ADC sample rate will be used.
34 description: If not supplied, the internal voltage reference will be used.
45 additionalProperties: false
49 #include <dt-bindings/interrupt-controller/irq.h>
50 #include <dt-bindings/interrupt-controller/arm-gic.h>
51 #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
52 #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
57 compatible = "nuvoton,npcm750-adc";
58 reg = <0xf000c000 0x8>;
59 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
60 clocks = <&clk NPCM7XX_CLK_ADC>;
61 resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;