1/*
2 *
3 * Copyright (c) 2018 Linaro Limited
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8/ {
9	aliases {
10		magn0 = &lsm303agr_magn_1e_x_nucleo_iks01a2;
11		accel0 = &lsm303agr_accel_19_x_nucleo_iks01a2;
12		accel1 = &lsm6dsl_6b_x_nucleo_iks01a2;
13	};
14};
15
16&arduino_i2c {
17
18	hts221_x_nucleo_iks01a2: hts221@5f {
19		compatible = "st,hts221";
20		reg = <0x5f>;
21	};
22
23	lps22hb_press_x_nucleo_iks01a2: lps22hb-press@5d {
24		compatible = "st,lps22hb-press";
25		reg = <0x5d>;
26	};
27
28	lsm6dsl_6b_x_nucleo_iks01a2: lsm6dsl@6b {
29		compatible = "st,lsm6dsl";
30		reg = <0x6b>;
31		irq-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>;	/* D4 */
32	};
33
34	lsm303agr_magn_1e_x_nucleo_iks01a2: lsm303agr-magn@1e {
35		compatible = "st,lis2mdl","st,lsm303agr-magn";
36		reg = <0x1e>;
37		irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>;	/* A3 */
38	};
39
40	lsm303agr_accel_19_x_nucleo_iks01a2: lsm303agr-accel@19 {
41		compatible = "st,lis2dh", "st,lsm303agr-accel";
42		reg = <0x19>;
43		irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>;	/* A3 */
44	};
45};
46