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 3-Axis, Low noise MEMS Accelerometer
10 - Puranjay Mohan <puranjay12@gmail.com>
13 Analog Devices ADXL355 3-Axis, Low noise MEMS Accelerometer that supports
14 both I2C & SPI interfaces
15 https://www.analog.com/en/products/adxl355.html
29 Type for DRDY should be IRQ_TYPE_EDGE_RISING.
30 Three configurable interrupt lines exist.
33 description: Specify which interrupt line is in use.
43 description: Regulator that provides power to the sensor
46 description: Regulator that provides power to the bus
53 - $ref: /schemas/spi/spi-peripheral-props.yaml#
55 unevaluatedProperties: false
59 #include <dt-bindings/gpio/gpio.h>
60 #include <dt-bindings/interrupt-controller/irq.h>
65 /* Example for a I2C device node */
67 compatible = "adi,adxl355";
69 interrupt-parent = <&gpio>;
70 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
71 interrupt-names = "DRDY";
75 #include <dt-bindings/gpio/gpio.h>
76 #include <dt-bindings/interrupt-controller/irq.h>
82 compatible = "adi,adxl355";
84 spi-max-frequency = <1000000>;
85 interrupt-parent = <&gpio>;
86 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
87 interrupt-names = "DRDY";