1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/gyroscope/invensense,itg3200.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Invensense ITG-3200 Gyroscope 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotdescription: | 13*833e5d42SEmmanuel Vadot Triple-axis, digital output gyroscope with a three 16-bit analog-to-digital 14*833e5d42SEmmanuel Vadot converters (ADCs) for digitizing the gyro outputs, a user-selectable internal 15*833e5d42SEmmanuel Vadot low-pass filter bandwidth, and a Fast-Mode I2C. 16*833e5d42SEmmanuel Vadot 17*833e5d42SEmmanuel Vadotproperties: 18*833e5d42SEmmanuel Vadot compatible: 19*833e5d42SEmmanuel Vadot const: invensense,itg3200 20*833e5d42SEmmanuel Vadot 21*833e5d42SEmmanuel Vadot reg: 22*833e5d42SEmmanuel Vadot maxItems: 1 23*833e5d42SEmmanuel Vadot 24*833e5d42SEmmanuel Vadot vdd-supply: true 25*833e5d42SEmmanuel Vadot 26*833e5d42SEmmanuel Vadot vlogic-supply: true 27*833e5d42SEmmanuel Vadot 28*833e5d42SEmmanuel Vadot interrupts: 29*833e5d42SEmmanuel Vadot maxItems: 1 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel Vadot mount-matrix: 32*833e5d42SEmmanuel Vadot description: an optional 3x3 mounting rotation matrix. 33*833e5d42SEmmanuel Vadot 34*833e5d42SEmmanuel Vadot clocks: 35*833e5d42SEmmanuel Vadot maxItems: 1 36*833e5d42SEmmanuel Vadot 37*833e5d42SEmmanuel Vadot clock-names: 38*833e5d42SEmmanuel Vadot items: 39*833e5d42SEmmanuel Vadot - const: ext_clock 40*833e5d42SEmmanuel Vadot 41*833e5d42SEmmanuel Vadotrequired: 42*833e5d42SEmmanuel Vadot - compatible 43*833e5d42SEmmanuel Vadot - reg 44*833e5d42SEmmanuel Vadot 45*833e5d42SEmmanuel VadotadditionalProperties: false 46*833e5d42SEmmanuel Vadot 47*833e5d42SEmmanuel Vadotexamples: 48*833e5d42SEmmanuel Vadot - | 49*833e5d42SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 50*833e5d42SEmmanuel Vadot i2c { 51*833e5d42SEmmanuel Vadot #address-cells = <1>; 52*833e5d42SEmmanuel Vadot #size-cells = <0>; 53*833e5d42SEmmanuel Vadot gyroscope@68 { 54*833e5d42SEmmanuel Vadot compatible = "invensense,itg3200"; 55*833e5d42SEmmanuel Vadot reg = <0x68>; 56*833e5d42SEmmanuel Vadot interrupt-parent = <&gpio2>; 57*833e5d42SEmmanuel Vadot interrupts = <24 IRQ_TYPE_EDGE_FALLING>; 58*833e5d42SEmmanuel Vadot }; 59*833e5d42SEmmanuel Vadot }; 60