1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/accel/adi,adxl367.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Analog Devices ADXL367 3-Axis Digital Accelerometer 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Cosmin Tanislav <cosmin.tanislav@analog.com> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotdescription: | 13c9ccf3a3SEmmanuel Vadot The ADXL367 is an ultralow power, 3-axis MEMS accelerometer. 14c9ccf3a3SEmmanuel Vadot 15c9ccf3a3SEmmanuel Vadot The ADXL367 does not alias input signals by to achieve ultralow power 16c9ccf3a3SEmmanuel Vadot consumption, it samples the full bandwidth of the sensor at all 17c9ccf3a3SEmmanuel Vadot data rates. Measurement ranges of +-2g, +-4g, and +-8g are available, 18c9ccf3a3SEmmanuel Vadot with a resolution of 0.25mg/LSB on the +-2 g range. 19c9ccf3a3SEmmanuel Vadot 20c9ccf3a3SEmmanuel Vadot In addition to its ultralow power consumption, the ADXL367 21c9ccf3a3SEmmanuel Vadot has many features to enable true system level power reduction. 22c9ccf3a3SEmmanuel Vadot It includes a deep multimode output FIFO, a built-in micropower 23c9ccf3a3SEmmanuel Vadot temperature sensor, and an internal ADC for synchronous conversion 24c9ccf3a3SEmmanuel Vadot of an additional analog input. 25c9ccf3a3SEmmanuel Vadot https://www.analog.com/en/products/adxl367.html 26c9ccf3a3SEmmanuel Vadot 27c9ccf3a3SEmmanuel Vadotproperties: 28c9ccf3a3SEmmanuel Vadot compatible: 29c9ccf3a3SEmmanuel Vadot enum: 30c9ccf3a3SEmmanuel Vadot - adi,adxl367 31c9ccf3a3SEmmanuel Vadot 32c9ccf3a3SEmmanuel Vadot reg: 33c9ccf3a3SEmmanuel Vadot maxItems: 1 34c9ccf3a3SEmmanuel Vadot 35c9ccf3a3SEmmanuel Vadot interrupts: 36c9ccf3a3SEmmanuel Vadot maxItems: 1 37c9ccf3a3SEmmanuel Vadot 38c9ccf3a3SEmmanuel Vadot vdd-supply: true 39c9ccf3a3SEmmanuel Vadot vddio-supply: true 40c9ccf3a3SEmmanuel Vadot 41c9ccf3a3SEmmanuel Vadotrequired: 42c9ccf3a3SEmmanuel Vadot - compatible 43c9ccf3a3SEmmanuel Vadot - reg 44c9ccf3a3SEmmanuel Vadot - interrupts 45c9ccf3a3SEmmanuel Vadot 46*7ef62cebSEmmanuel VadotallOf: 47*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 48*7ef62cebSEmmanuel Vadot 49*7ef62cebSEmmanuel VadotunevaluatedProperties: false 50c9ccf3a3SEmmanuel Vadot 51c9ccf3a3SEmmanuel Vadotexamples: 52c9ccf3a3SEmmanuel Vadot - | 53c9ccf3a3SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 54c9ccf3a3SEmmanuel Vadot 55c9ccf3a3SEmmanuel Vadot i2c { 56c9ccf3a3SEmmanuel Vadot #address-cells = <1>; 57c9ccf3a3SEmmanuel Vadot #size-cells = <0>; 58c9ccf3a3SEmmanuel Vadot 59c9ccf3a3SEmmanuel Vadot accelerometer@53 { 60c9ccf3a3SEmmanuel Vadot compatible = "adi,adxl367"; 61c9ccf3a3SEmmanuel Vadot reg = <0x53>; 62c9ccf3a3SEmmanuel Vadot interrupt-parent = <&gpio>; 63c9ccf3a3SEmmanuel Vadot interrupts = <25 IRQ_TYPE_EDGE_RISING>; 64c9ccf3a3SEmmanuel Vadot }; 65c9ccf3a3SEmmanuel Vadot }; 66c9ccf3a3SEmmanuel Vadot - | 67c9ccf3a3SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 68c9ccf3a3SEmmanuel Vadot 69c9ccf3a3SEmmanuel Vadot spi { 70c9ccf3a3SEmmanuel Vadot #address-cells = <1>; 71c9ccf3a3SEmmanuel Vadot #size-cells = <0>; 72c9ccf3a3SEmmanuel Vadot 73c9ccf3a3SEmmanuel Vadot accelerometer@0 { 74c9ccf3a3SEmmanuel Vadot compatible = "adi,adxl367"; 75c9ccf3a3SEmmanuel Vadot reg = <0>; 76c9ccf3a3SEmmanuel Vadot spi-max-frequency = <1000000>; 77c9ccf3a3SEmmanuel Vadot interrupt-parent = <&gpio>; 78c9ccf3a3SEmmanuel Vadot interrupts = <25 IRQ_TYPE_EDGE_RISING>; 79c9ccf3a3SEmmanuel Vadot }; 80c9ccf3a3SEmmanuel Vadot }; 81