1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/iio/accel/adi,adxl372.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer
10 - Stefan Popa <stefan.popa@analog.com>
13 Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer that supports
14 both I2C & SPI interfaces
15 https://www.analog.com/en/products/adxl372.html
35 #include <dt-bindings/gpio/gpio.h>
36 #include <dt-bindings/interrupt-controller/irq.h>
41 /* Example for a I2C device node */
43 compatible = "adi,adxl372";
45 interrupt-parent = <&gpio>;
46 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
50 #include <dt-bindings/gpio/gpio.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
57 compatible = "adi,adxl372";
59 spi-max-frequency = <1000000>;
60 interrupt-parent = <&gpio>;
61 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;