1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/accel/nxp,fxls8962af.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP FXLS8962AF/FXLS8964AF Accelerometer driver
10 - Sean Nyekjaer <sean@geanix.com>
13 NXP FXLS8962AF/FXLS8964AF Accelerometer driver that supports
14 SPI and I2C interface.
15 https://www.nxp.com/docs/en/data-sheet/FXLS8962AF.pdf
16 https://www.nxp.com/docs/en/data-sheet/FXLS8964AF.pdf
28 description: phandle to the regulator that provides power to the accelerometer
30 spi-max-frequency: true
47 additionalProperties: false
51 #include <dt-bindings/interrupt-controller/irq.h>
56 /* Example for a I2C device node */
58 compatible = "nxp,fxls8962af";
60 interrupt-parent = <&gpio0>;
61 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
62 interrupt-names = "INT1";
66 #include <dt-bindings/interrupt-controller/irq.h>
71 /* Example for a SPI device node */
73 compatible = "nxp,fxls8962af";
75 spi-max-frequency = <4000000>;
76 interrupt-parent = <&gpio0>;
77 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
78 interrupt-names = "INT1";