1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/iio/accel/adi,adxl355.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADXL355 and ADXL359 3-Axis, Low noise MEMS Accelerometers
10 - Puranjay Mohan <puranjay12@gmail.com>
13 Analog Devices ADXL355 and ADXL359 3-Axis, Low noise MEMS Accelerometers that
14 support both I2C & SPI interfaces
15 https://www.analog.com/en/products/adxl355.html
16 https://www.analog.com/en/products/adxl359.html
31 Type for DRDY should be IRQ_TYPE_EDGE_RISING.
32 Three configurable interrupt lines exist.
35 description: Specify which interrupt line is in use.
45 description: Regulator that provides power to the sensor
48 description: Regulator that provides power to the bus
55 - $ref: /schemas/spi/spi-peripheral-props.yaml#
57 unevaluatedProperties: false
61 #include <dt-bindings/gpio/gpio.h>
62 #include <dt-bindings/interrupt-controller/irq.h>
67 /* Example for a I2C device node */
69 compatible = "adi,adxl355";
71 interrupt-parent = <&gpio>;
72 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
73 interrupt-names = "DRDY";
77 #include <dt-bindings/gpio/gpio.h>
78 #include <dt-bindings/interrupt-controller/irq.h>
84 compatible = "adi,adxl355";
86 spi-max-frequency = <1000000>;
87 interrupt-parent = <&gpio>;
88 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
89 interrupt-names = "DRDY";