1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/gyroscope/nxp,fxas21002c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP FXAS21002C Gyroscope
10 - Rui Miguel Silva <rmfrfs@gmail.com>
13 3 axis digital gyroscope device with an I2C and SPI interface.
14 http://www.nxp.com/products/sensors/gyroscopes/3-axis-digital-gyroscope:FXAS21002C
24 description: Regulator that provides power to the sensor
27 description: Regulator that provides power to the bus
31 description: GPIO connected to reset
36 description: Either interrupt may be triggered on rising or falling edges.
48 description: the interrupt/data ready line will be configured as open drain,
49 which is useful if several sensors share the same interrupt
59 additionalProperties: false
63 #include <dt-bindings/interrupt-controller/irq.h>
70 compatible = "nxp,fxas21002c";
73 vdd-supply = <®_peri_3p15v>;
74 vddio-supply = <®_peri_3p15v>;
76 interrupt-parent = <&gpio1>;
77 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
78 interrupt-names = "INT1";
86 compatible = "nxp,fxas2102c";
89 spi-max-frequency = <2000000>;
91 interrupt-parent = <&gpio2>;
92 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
93 interrupt-names = "INT2";