1/* 2 * Copyright (c) 2019 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/gpio/gpio.h> 8 9/ { 10 aliases { 11 magn0 = &lis2mdl_1e_x_nucleo_iks01a3; 12 accel0 = &lis2dw12_19_x_nucleo_iks01a3; 13 accel1 = &lsm6dso_6b_x_nucleo_iks01a3; 14 }; 15}; 16 17&arduino_i2c { 18 19 hts221_x_nucleo_iks01a3: hts221@5f { 20 compatible = "st,hts221"; 21 reg = <0x5f>; 22 }; 23 24 lps22hh_x_nucleo_iks01a3: lps22hh@5d { 25 compatible = "st,lps22hh"; 26 reg = <0x5d>; 27 drdy-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */ 28 }; 29 30 stts751_x_nucleo_iks01a3: stts751@4a { 31 compatible = "st,stts751"; 32 reg = <0x4a>; 33 drdy-gpios = <&arduino_header 4 GPIO_ACTIVE_LOW>; /* A4 */ 34 }; 35 36 lis2mdl_1e_x_nucleo_iks01a3: lis2mdl@1e { 37 compatible = "st,lis2mdl"; 38 reg = <0x1e>; 39 irq-gpios = <&arduino_header 2 GPIO_ACTIVE_HIGH>; /* A2 */ 40 }; 41 42 lis2dw12_19_x_nucleo_iks01a3: lis2dw12@19 { 43 compatible = "st,lis2dw12"; 44 reg = <0x19>; 45 irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */ 46 }; 47 48 lsm6dso_6b_x_nucleo_iks01a3: lsm6dso@6b { 49 compatible = "st,lsm6dso"; 50 reg = <0x6b>; 51 irq-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 */ 52 int-pin = <2>; 53 }; 54}; 55