57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 similar8 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.html16 https://www.analog.com/en/products/adis16209.html17 18properties:19 compatible:20 enum:21 - adi,adis1620122 - adi,adis1620923 24 reg:25 maxItems: 126 27 interrupts:28 maxItems: 129 30 vdd-supply: true31 32required:33 - compatible34 - reg35 36allOf:37 - $ref: /schemas/spi/spi-peripheral-props.yaml#38 39unevaluatedProperties: false40 41examples:42 - |43 #include <dt-bindings/interrupt-controller/irq.h>44 spi {45 #address-cells = <1>;46 #size-cells = <0>;47 48 accelerometer@0 {49 compatible = "adi,adis16201";50 reg = <0>;51 spi-max-frequency = <2500000>;52 interrupt-parent = <&gpio0>;53 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;54 };55 };56...57