zephyr/boards/shields/x_nucleo_iks01a2/x_nucleo_iks01a2.overlay
Erwan Gouriou 87d7c8f6a2 boards: shields: x_nucleo_iks01a1: '-' is not allowed in nodelabels
When moving nodelabels to <device_name>_<shields_name>, '-' included
in <device_name> was then introduced in the  device nodelabel.
But '-' isn't an allowed nodelabel character, hence this is breaking
compilation with those shields.
Convert '-' to '_'.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-10-05 07:34:12 -05:00

46 lines
997 B
Plaintext

/*
*
* Copyright (c) 2018 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
magn0 = &lsm303agr_magn_1e_x_nucleo_iks01a2;
accel0 = &lsm303agr_accel_19_x_nucleo_iks01a2;
accel1 = &lsm6dsl_6b_x_nucleo_iks01a2;
};
};
&arduino_i2c {
hts221_x_nucleo_iks01a2: hts221@5f {
compatible = "st,hts221";
reg = <0x5f>;
};
lps22hb_press_x_nucleo_iks01a2: lps22hb-press@5d {
compatible = "st,lps22hb-press";
reg = <0x5d>;
};
lsm6dsl_6b_x_nucleo_iks01a2: lsm6dsl@6b {
compatible = "st,lsm6dsl";
reg = <0x6b>;
irq-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
};
lsm303agr_magn_1e_x_nucleo_iks01a2: lsm303agr-magn@1e {
compatible = "st,lis2mdl","st,lsm303agr-magn";
reg = <0x1e>;
irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
};
lsm303agr_accel_19_x_nucleo_iks01a2: lsm303agr-accel@19 {
compatible = "st,lis2dh", "st,lsm303agr-accel";
reg = <0x19>;
irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
};
};