1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/accel/fsl,mma7455.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale MMA7455 and MMA7456 three axis accelerometers
10 - Joachim Eastwood <manabian@gmail.com>
11 - Jonathan Cameron <jic23@kernel.org>
14 Devices support both SPI and I2C interfaces.
33 Data ready is only available on INT1, but events can use either or
34 both pins. If not specified, first element assumed to correspond
35 to INT1 and second (where present) to INT2.
43 spi-max-frequency: true
49 additionalProperties: false
53 # include <dt-bindings/interrupt-controller/irq.h>
59 compatible = "fsl,mma7455";
61 vddio-supply = <&iovdd>;
62 avdd-supply = <&avdd>;
63 interrupts = <57 IRQ_TYPE_EDGE_FALLING>, <58 IRQ_TYPE_EDGE_FALLING>;
64 interrupt-names = "INT2", "INT1";
68 # include <dt-bindings/interrupt-controller/irq.h>
73 compatible = "fsl,mma7456";
75 spi-max-frequency = <10000000>;
76 vddio-supply = <&iovdd>;
77 avdd-supply = <&avdd>;
78 interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
79 interrupt-names = "INT1";