zephyr/boards/shields/x_nucleo_iks01a2/x_nucleo_iks01a2.overlay
Peter Bigot 3154627a97 drivers: sensor: lis2dh: convert to new GPIO API
Use the new pin and interrupt configuration API.  Update all
devicetree bindings to add INT signal active level.  Document active
level.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-02-05 12:00:36 +01:00

43 lines
797 B
Plaintext

/*
*
* Copyright (c) 2018 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_i2c {
hts221@5f {
compatible = "st,hts221";
reg = <0x5f>;
label = "HTS221";
};
lps22hb-press@5d {
compatible = "st,lps22hb-press";
reg = <0x5d>;
label = "LPS22HB";
};
lsm6dsl@6b {
compatible = "st,lsm6dsl";
reg = <0x6b>;
label = "LSM6DSL";
irq-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
};
lsm303agr-magn@1e {
compatible = "st,lis2mdl","st,lsm303agr-magn";
reg = <0x1e>;
label = "LSM303AGR-MAGN";
irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
};
lsm303agr-accel@19 {
compatible = "st,lis2dh", "st,lsm303agr-accel";
reg = <0x19>;
label = "LSM303AGR-ACCEL";
irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
};
};