Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml
29539 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1# Copyright 2025 Analog Devices Inc.2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/adi,ade9000.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Analog Devices ADE9000 High Performance, Polyphase Energy Metering89maintainers:10- Antoniu Miclaus <antoniu.miclaus@analog.com>1112description: |13The ADE9000 is a highly accurate, fully integrated, multiphase energy and power14quality monitoring device. Superior analog performance and a digital signal15processing (DSP) core enable accurate energy monitoring over a wide dynamic16range. An integrated high end reference ensures low drift over temperature17with a combined drift of less than ±25 ppm/°C maximum for the entire channel18including a programmable gain amplifier (PGA) and an analog-to-digital19converter (ADC).2021https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9000.pdf2223$ref: /schemas/spi/spi-peripheral-props.yaml#2425properties:26compatible:27enum:28- adi,ade90002930reg:31maxItems: 13233spi-max-frequency:34maximum: 200000003536interrupts:37maxItems: 33839interrupt-names:40items:41enum: [irq0, irq1, dready]42minItems: 143maxItems: 34445reset-gpios:46description:47Must be the device tree identifier of the RESET pin. As the line is48active low, it should be marked GPIO_ACTIVE_LOW.49maxItems: 15051vdd-supply: true5253vref-supply: true5455clocks:56description: External clock source when not using crystal57maxItems: 1585960"#clock-cells":61description:62ADE9000 can provide clock output via CLKOUT pin with external buffer.63const: 06465required:66- compatible67- reg68- vdd-supply6970unevaluatedProperties: false7172examples:73- |74#include <dt-bindings/gpio/gpio.h>75#include <dt-bindings/interrupt-controller/irq.h>7677spi {78#address-cells = <1>;79#size-cells = <0>;8081adc@0 {82compatible = "adi,ade9000";83reg = <0>;84spi-max-frequency = <7000000>;8586#clock-cells = <0>;87reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;88interrupts = <2 IRQ_TYPE_EDGE_FALLING>, <3 IRQ_TYPE_EDGE_FALLING>, <4 IRQ_TYPE_EDGE_FALLING>;89interrupt-names = "irq0", "irq1", "dready";90interrupt-parent = <&gpio>;91clocks = <&ext_clock_24576khz>;92vdd-supply = <&vdd_reg>;93};94};959697