Path: blob/main/sys/contrib/device-tree/Bindings/iio/gyroscope/nxp,fxas21002c.txt
48525 views
* NXP FXAS21002C Gyroscope device tree bindings12http://www.nxp.com/products/sensors/gyroscopes/3-axis-digital-gyroscope:FXAS21002C34Required properties:5- compatible : should be "nxp,fxas21002c"6- reg : the I2C address of the sensor or SPI chip select number for the7device.8- vdd-supply: phandle to the regulator that provides power to the sensor.9- vddio-supply: phandle to the regulator that provides power to the bus.1011Optional properties:12- reset-gpios : gpio used to reset the device, see gpio/gpio.txt13- interrupts : device support 2 interrupts, INT1 and INT2,14the interrupts can be triggered on rising or falling edges.15See interrupt-controller/interrupts.txt16- interrupt-names: should contain "INT1" or "INT2", the gyroscope interrupt17line in use.18- drive-open-drain: the interrupt/data ready line will be configured19as open drain, which is useful if several sensors share20the same interrupt line. This is a boolean property.21(This binding is taken from pinctrl/pinctrl-bindings.txt)2223Example:2425gyroscope@20 {26compatible = "nxp,fxas21002c";27reg = <0x20>;28vdd-supply = <®_peri_3p15v>;29vddio-supply = <®_peri_3p15v>;30};313233