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
34 - $ref: /schemas/spi/spi-peripheral-props.yaml#
36 unevaluatedProperties: false
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/interrupt-controller/irq.h>
46 /* Example for a I2C device node */
48 compatible = "adi,adxl372";
50 interrupt-parent = <&gpio>;
51 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
55 #include <dt-bindings/gpio/gpio.h>
56 #include <dt-bindings/interrupt-controller/irq.h>
62 compatible = "adi,adxl372";
64 spi-max-frequency = <1000000>;
65 interrupt-parent = <&gpio>;
66 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;