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
45 #include <dt-bindings/gpio/gpio.h>
46 #include <dt-bindings/interrupt-controller/irq.h>
52 compatible = "nxp,fxos8700";
55 interrupt-parent = <&gpio2>;
56 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
57 interrupt-names = "INT1";
61 #include <dt-bindings/gpio/gpio.h>
62 #include <dt-bindings/interrupt-controller/irq.h>
68 compatible = "nxp,fxos8700";
71 spi-max-frequency = <1000000>;
72 interrupt-parent = <&gpio1>;
73 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
74 interrupt-names = "INT2";