Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml
54249 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: 15859"#clock-cells":60description:61ADE9000 can provide clock output via CLKOUT pin with external buffer.62const: 06364required:65- compatible66- reg67- vdd-supply6869unevaluatedProperties: false7071examples:72- |73#include <dt-bindings/gpio/gpio.h>74#include <dt-bindings/interrupt-controller/irq.h>7576spi {77#address-cells = <1>;78#size-cells = <0>;7980adc@0 {81compatible = "adi,ade9000";82reg = <0>;83spi-max-frequency = <7000000>;8485#clock-cells = <0>;86reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;87interrupts = <2 IRQ_TYPE_EDGE_FALLING>, <3 IRQ_TYPE_EDGE_FALLING>, <4 IRQ_TYPE_EDGE_FALLING>;88interrupt-names = "irq0", "irq1", "dready";89interrupt-parent = <&gpio>;90clocks = <&ext_clock_24576khz>;91vdd-supply = <&vdd_reg>;92};93};949596