1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/imu/adi,adis16460.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Analog Devices ADIS16460 and similar IMUs
8
9 maintainers:
10 - Dragos Bogdan <dragos.bogdan@analog.com>
11
12 description: |
13 Analog Devices ADIS16460 and similar IMUs
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf
15
16 properties:
17 compatible:
18 enum:
19 - adi,adis16460
20
21 reg:
22 maxItems: 1
23
24 spi-cpha: true
25
26 spi-cpol: true
27
28 spi-max-frequency: true
29
30 interrupts:
31 maxItems: 1
32
33 required:
34 - compatible
35 - reg
36 - interrupts
37
38 additionalProperties: false
39
40 examples:
41 - |
42 #include <dt-bindings/gpio/gpio.h>
43 #include <dt-bindings/interrupt-controller/irq.h>
44 spi0 {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 imu@0 {
49 compatible = "adi,adis16460";
50 reg = <0>;
51 spi-max-frequency = <5000000>;
52 spi-cpol;
53 spi-cpha;
54 interrupt-parent = <&gpio0>;
55 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
56 };
57 };
Cache object: 2850201a96bb81cef1e9eaf019f36a1e
|