adi,adis16201.yaml (1143B)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/accel/adi,adis16201.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: ADIS16201 Dual Axis Inclinometer and similar 8 9maintainers: 10 - Jonathan Cameron <Jonathan.Cameron@huawei.com> 11 12description: | 13 Two similar parts from external interface point of view. 14 SPI interface. 15 https://www.analog.com/en/products/adis16201.html 16 https://www.analog.com/en/products/adis16209.html 17 18properties: 19 compatible: 20 enum: 21 - adi,adis16201 22 - adi,adis16209 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 spi-max-frequency: true 31 32 vdd-supply: true 33 34required: 35 - compatible 36 - reg 37 38additionalProperties: false 39 40examples: 41 - | 42 #include <dt-bindings/interrupt-controller/irq.h> 43 spi0 { 44 #address-cells = <1>; 45 #size-cells = <0>; 46 47 accelerometer@0 { 48 compatible = "adi,adis16201"; 49 reg = <0>; 50 spi-max-frequency = <2500000>; 51 interrupt-parent = <&gpio0>; 52 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 53 }; 54 }; 55...