brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · b0dd2b4 Raw
66 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/accel/fsl,mma8452.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title:8  Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q9  triaxial accelerometer10 11maintainers:12  - Martin Kepplinger <martin.kepplinger@theobroma-systems.com>13 14properties:15  compatible:16    enum:17      - fsl,mma845118      - fsl,mma845219      - fsl,mma845320      - fsl,mma865221      - fsl,mma865322      - fsl,fxls847123 24  reg:25    maxItems: 126 27  interrupts:28    description:29      2 highly configurable interrupt lines exist.30    minItems: 131    maxItems: 232 33  interrupt-names:34    description: Specify which interrupt line is in use.35    items:36      enum:37        - INT138        - INT239    minItems: 140    maxItems: 241 42  vdd-supply: true43  vddio-supply: true44 45required:46  - compatible47  - reg48 49additionalProperties: false50 51examples:52  - |53    i2c {54        #address-cells = <1>;55        #size-cells = <0>;56 57        accel@1d {58            compatible = "fsl,mma8453";59            reg = <0x1d>;60            interrupt-parent = <&gpio1>;61            interrupts = <5 0>;62            interrupt-names = "INT2";63        };64    };65...66