1* NXP FXAS21002C Gyroscope device tree bindings
2
3http://www.nxp.com/products/sensors/gyroscopes/3-axis-digital-gyroscope:FXAS21002C
4
5Required properties:
6  - compatible : should be "nxp,fxas21002c"
7  - reg : the I2C address of the sensor or SPI chip select number for the
8          device.
9  - vdd-supply: phandle to the regulator that provides power to the sensor.
10  - vddio-supply: phandle to the regulator that provides power to the bus.
11
12Optional properties:
13  - reset-gpios : gpio used to reset the device, see gpio/gpio.txt
14  - interrupts : device support 2 interrupts, INT1 and INT2,
15                 the interrupts can be triggered on rising or falling edges.
16                 See interrupt-controller/interrupts.txt
17  - interrupt-names: should contain "INT1" or "INT2", the gyroscope interrupt
18                     line in use.
19  - drive-open-drain: the interrupt/data ready line will be configured
20                      as open drain, which is useful if several sensors share
21                      the same interrupt line. This is a boolean property.
22                      (This binding is taken from pinctrl/pinctrl-bindings.txt)
23
24Example:
25
26gyroscope@20 {
27	compatible = "nxp,fxas21002c";
28	reg = <0x20>;
29	vdd-supply = <&reg_peri_3p15v>;
30	vddio-supply = <&reg_peri_3p15v>;
31};
32