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
46 - $ref: /schemas/spi/spi-peripheral-props.yaml#
48 unevaluatedProperties: false
52 #include <dt-bindings/interrupt-controller/irq.h>
57 /* Example for a I2C device node */
59 compatible = "nxp,fxls8962af";
61 interrupt-parent = <&gpio0>;
62 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
63 interrupt-names = "INT1";
67 #include <dt-bindings/interrupt-controller/irq.h>
72 /* Example for a SPI device node */
74 compatible = "nxp,fxls8962af";
76 spi-max-frequency = <4000000>;
77 interrupt-parent = <&gpio0>;
78 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
79 interrupt-names = "INT1";