1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/imu/adi,adis16550.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices ADIS16550 and similar IMUs 8 9maintainers: 10 - Nuno Sa <nuno.sa@analog.com> 11 - Ramona Gradinariu <ramona.gradinariu@analog.com> 12 - Antoniu Miclaus <antoniu.miclaus@analog.com> 13 - Robert Budai <robert.budai@analog.com> 14 15properties: 16 compatible: 17 enum: 18 - adi,adis16550 19 20 reg: 21 maxItems: 1 22 23 spi-cpha: true 24 25 spi-cpol: true 26 27 spi-max-frequency: 28 maximum: 15000000 29 30 vdd-supply: true 31 32 interrupts: 33 maxItems: 1 34 35 reset-gpios: 36 description: 37 Active low RESET pin. 38 maxItems: 1 39 40 clocks: 41 description: If not provided, then the internal clock is used. 42 maxItems: 1 43 44required: 45 - compatible 46 - reg 47 - interrupts 48 - spi-cpha 49 - spi-cpol 50 - spi-max-frequency 51 - vdd-supply 52 53allOf: 54 - $ref: /schemas/spi/spi-peripheral-props.yaml# 55 56unevaluatedProperties: false 57 58examples: 59 - | 60 #include <dt-bindings/interrupt-controller/irq.h> 61 spi { 62 #address-cells = <1>; 63 #size-cells = <0>; 64 imu@0 { 65 compatible = "adi,adis16550"; 66 reg = <0>; 67 spi-max-frequency = <15000000>; 68 spi-cpol; 69 spi-cpha; 70 vdd-supply = <&vdd>; 71 interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 72 interrupt-parent = <&gpio>; 73 }; 74 }; 75