1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/accel/f 4 $id: http://devicetree.org/schemas/iio/accel/fsl,mma8452.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: 7 title: 8 Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8 8 Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q 9 triaxial accelerometer 9 triaxial accelerometer 10 10 11 maintainers: 11 maintainers: 12 - Martin Kepplinger <martin.kepplinger@theobr 12 - Martin Kepplinger <martin.kepplinger@theobroma-systems.com> 13 13 14 properties: 14 properties: 15 compatible: 15 compatible: 16 enum: 16 enum: 17 - fsl,mma8451 17 - fsl,mma8451 18 - fsl,mma8452 18 - fsl,mma8452 19 - fsl,mma8453 19 - fsl,mma8453 20 - fsl,mma8652 20 - fsl,mma8652 21 - fsl,mma8653 21 - fsl,mma8653 22 - fsl,fxls8471 22 - fsl,fxls8471 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 interrupts: 27 interrupts: 28 description: 28 description: 29 2 highly configurable interrupt lines ex 29 2 highly configurable interrupt lines exist. 30 minItems: 1 30 minItems: 1 31 maxItems: 2 31 maxItems: 2 32 32 33 interrupt-names: 33 interrupt-names: 34 description: Specify which interrupt line 34 description: Specify which interrupt line is in use. 35 items: 35 items: 36 enum: 36 enum: 37 - INT1 37 - INT1 38 - INT2 38 - INT2 39 minItems: 1 39 minItems: 1 40 maxItems: 2 40 maxItems: 2 41 41 42 vdd-supply: true 42 vdd-supply: true 43 vddio-supply: true 43 vddio-supply: true 44 44 45 required: 45 required: 46 - compatible 46 - compatible 47 - reg 47 - reg 48 48 49 additionalProperties: false 49 additionalProperties: false 50 50 51 examples: 51 examples: 52 - | 52 - | 53 i2c { 53 i2c { 54 #address-cells = <1>; 54 #address-cells = <1>; 55 #size-cells = <0>; 55 #size-cells = <0>; 56 56 57 accel@1d { 57 accel@1d { 58 compatible = "fsl,mma8453"; 58 compatible = "fsl,mma8453"; 59 reg = <0x1d>; 59 reg = <0x1d>; 60 interrupt-parent = <&gpio1>; 60 interrupt-parent = <&gpio1>; 61 interrupts = <5 0>; 61 interrupts = <5 0>; 62 interrupt-names = "INT2"; 62 interrupt-names = "INT2"; 63 }; 63 }; 64 }; 64 }; 65 ... 65 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.