The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/imu/inv_mpu6050.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
    2 
    3 http://www.invensense.com/mems/gyro/mpu6050.html
    4 
    5 Required properties:
    6  - compatible : should be one of
    7                 "invensense,mpu6000"
    8                 "invensense,mpu6050"
    9                 "invensense,mpu6500"
   10                 "invensense,mpu6515"
   11                 "invensense,mpu9150"
   12                 "invensense,mpu9250"
   13                 "invensense,mpu9255"
   14                 "invensense,icm20608"
   15                 "invensense,icm20609"
   16                 "invensense,icm20689"
   17                 "invensense,icm20602"
   18                 "invensense,icm20690"
   19                 "invensense,iam20680"
   20  - reg : the I2C address of the sensor
   21  - interrupts: interrupt mapping for IRQ. It should be configured with flags
   22    IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
   23    IRQ_TYPE_EDGE_FALLING.
   24 
   25   Refer to interrupt-controller/interrupts.txt for generic interrupt client node
   26   bindings.
   27 
   28 Optional properties:
   29  - vdd-supply: regulator phandle for VDD supply
   30  - vddio-supply: regulator phandle for VDDIO supply
   31  - mount-matrix: an optional 3x3 mounting rotation matrix
   32  - i2c-gate node.  These devices also support an auxiliary i2c bus.  This is
   33    simple enough to be described using the i2c-gate binding. See
   34    i2c/i2c-gate.txt for more details.
   35 
   36 Example:
   37         mpu6050@68 {
   38                 compatible = "invensense,mpu6050";
   39                 reg = <0x68>;
   40                 interrupt-parent = <&gpio1>;
   41                 interrupts = <18 IRQ_TYPE_EDGE_RISING>;
   42                 mount-matrix = "-0.984807753012208",  /* x0 */
   43                                "0",                   /* y0 */
   44                                "-0.173648177666930",  /* z0 */
   45                                "0",                   /* x1 */
   46                                "-1",                  /* y1 */
   47                                "0",                   /* z1 */
   48                                "-0.173648177666930",  /* x2 */
   49                                "0",                   /* y2 */
   50                                "0.984807753012208";   /* z2 */
   51         };
   52 
   53 
   54         mpu9250@68 {
   55                 compatible = "invensense,mpu9250";
   56                 reg = <0x68>;
   57                 interrupt-parent = <&gpio3>;
   58                 interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
   59                 i2c-gate {
   60                         #address-cells = <1>;
   61                         #size-cells = <0>;
   62                         ax8975@c {
   63                                 compatible = "ak,ak8975";
   64                                 reg = <0x0c>;
   65                         };
   66                 };
   67         };

Cache object: 11c2a95d403da07e1ab7204411968dd3


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.