1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/imu/nxp,fxos8700.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale FXOS8700 Inertial Measurement Unit
10 - Robert Jones <rjones@gateworks.com>
13 Accelerometer and magnetometer combo device with an i2c and SPI interface.
14 https://www.nxp.com/products/sensors/motion-sensors/6-axis/digital-motion-sensor-3d-accelerometer-2g-4g-8g-plus-3d-magnetometer:FXOS8700CQ
39 spi-max-frequency: true
45 additionalProperties: false
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
56 compatible = "nxp,fxos8700";
59 interrupt-parent = <&gpio2>;
60 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
61 interrupt-names = "INT1";
65 #include <dt-bindings/gpio/gpio.h>
66 #include <dt-bindings/interrupt-controller/irq.h>
72 compatible = "nxp,fxos8700";
75 spi-max-frequency = <1000000>;
76 interrupt-parent = <&gpio1>;
77 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
78 interrupt-names = "INT2";