1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/imu/adi,adis16480.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADIS16480 and similar IMUs
10 - Alexandru Ardelean <alexandru.ardelean@analog.com>
34 Accepted interrupt types are:
35 * IRQ_TYPE_EDGE_RISING
36 * IRQ_TYPE_EDGE_FALLING
42 Default if not supplied is DIO1.
50 spi-max-frequency: true
57 description: Connected to RESET pin which is active low.
61 description: If not provided, then the internal clock is used.
65 sync: In sync mode, the internal clock is disabled and the frequency
66 of the external clock signal establishes therate of data
67 collection and processing. See Fig 14 and 15 in the datasheet.
68 The clock-frequency must be:
69 * 3000 to 4500 Hz for adis1649x devices.
70 * 700 to 2400 Hz for adis1648x devices.
71 pps: In Pulse Per Second (PPS) Mode, the rate of data collection and
72 production is equal to the product of the external clock
73 frequency and the scale factor in the SYNC_SCALE register, see
74 Table 154 in the datasheet.
75 The clock-frequency must be:
76 * 1 to 128 Hz for adis1649x devices.
77 * This mode is not supported by adis1648x devices.
83 $ref: /schemas/types.yaml#/definitions/string
85 The DIOx line to be used as an external clock input.
86 Each DIOx pin supports only one function at a time (data ready line
87 selection or external clock input). When a single pin has two
88 two assignments, the enable bit for the lower priority function
89 automatically resets to zero (disabling the lower priority function).
90 Data ready has highest priority.
91 If not provided then DIO2 is assigned as default external clock
99 additionalProperties: false
111 #include <dt-bindings/interrupt-controller/irq.h>
113 #address-cells = <1>;
117 compatible = "adi,adis16495-1";
119 spi-max-frequency = <3200000>;
122 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
123 interrupt-parent = <&gpio>;
124 interrupt-names = "DIO2";
125 clocks = <&adis16495_sync>;
126 clock-names = "sync";
127 adi,ext-clk-pin = "DIO1";