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