xref: /freebsd/sys/contrib/device-tree/Bindings/iio/accel/fsl,mma8452.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/accel/fsl,mma8452.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle:
8*5def4c47SEmmanuel Vadot  Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
9*5def4c47SEmmanuel Vadot  triaxial accelerometer
10*5def4c47SEmmanuel Vadot
11*5def4c47SEmmanuel Vadotmaintainers:
12*5def4c47SEmmanuel Vadot  - Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
13*5def4c47SEmmanuel Vadot
14*5def4c47SEmmanuel Vadotproperties:
15*5def4c47SEmmanuel Vadot  compatible:
16*5def4c47SEmmanuel Vadot    enum:
17*5def4c47SEmmanuel Vadot      - fsl,mma8451
18*5def4c47SEmmanuel Vadot      - fsl,mma8452
19*5def4c47SEmmanuel Vadot      - fsl,mma8453
20*5def4c47SEmmanuel Vadot      - fsl,mma8652
21*5def4c47SEmmanuel Vadot      - fsl,mma8653
22*5def4c47SEmmanuel Vadot      - fsl,fxls8471
23*5def4c47SEmmanuel Vadot
24*5def4c47SEmmanuel Vadot  reg:
25*5def4c47SEmmanuel Vadot    maxItems: 1
26*5def4c47SEmmanuel Vadot
27*5def4c47SEmmanuel Vadot  interrupts:
28*5def4c47SEmmanuel Vadot    description:
29*5def4c47SEmmanuel Vadot      2 highly configurable interrupt lines exist.
30*5def4c47SEmmanuel Vadot    minItems: 1
31*5def4c47SEmmanuel Vadot    maxItems: 2
32*5def4c47SEmmanuel Vadot
33*5def4c47SEmmanuel Vadot  interrupt-names:
34*5def4c47SEmmanuel Vadot    description: Specify which interrupt line is in use.
35*5def4c47SEmmanuel Vadot    items:
36*5def4c47SEmmanuel Vadot      enum:
37*5def4c47SEmmanuel Vadot        - INT1
38*5def4c47SEmmanuel Vadot        - INT2
39*5def4c47SEmmanuel Vadot    minItems: 1
40*5def4c47SEmmanuel Vadot    maxItems: 2
41*5def4c47SEmmanuel Vadot
42*5def4c47SEmmanuel Vadot  vdd-supply: true
43*5def4c47SEmmanuel Vadot  vddio-supply: true
44*5def4c47SEmmanuel Vadot
45*5def4c47SEmmanuel Vadotrequired:
46*5def4c47SEmmanuel Vadot  - compatible
47*5def4c47SEmmanuel Vadot  - reg
48*5def4c47SEmmanuel Vadot
49*5def4c47SEmmanuel VadotadditionalProperties: false
50*5def4c47SEmmanuel Vadot
51*5def4c47SEmmanuel Vadotexamples:
52*5def4c47SEmmanuel Vadot  - |
53*5def4c47SEmmanuel Vadot    i2c {
54*5def4c47SEmmanuel Vadot        #address-cells = <1>;
55*5def4c47SEmmanuel Vadot        #size-cells = <0>;
56*5def4c47SEmmanuel Vadot
57*5def4c47SEmmanuel Vadot        accel@1d {
58*5def4c47SEmmanuel Vadot            compatible = "fsl,mma8453";
59*5def4c47SEmmanuel Vadot            reg = <0x1d>;
60*5def4c47SEmmanuel Vadot            interrupt-parent = <&gpio1>;
61*5def4c47SEmmanuel Vadot            interrupts = <5 0>;
62*5def4c47SEmmanuel Vadot            interrupt-names = "INT2";
63*5def4c47SEmmanuel Vadot        };
64*5def4c47SEmmanuel Vadot    };
65*5def4c47SEmmanuel Vadot...
66