Skip to content

Commit 171ed89

Browse files
Alexandre Francoeurfabiobaltieri
authored andcommitted
boards: mxchip: az3166_iotdevkit: Add "accel0" alias to dts
dts improvement for MXCHIP - AZ3166 IoT Dev kit. I added accel0 alias for compatibility with the accel_polling sample. Signed-off-by: Alexandre Francoeur <[email protected]>.
1 parent c09edc1 commit 171ed89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

boards/mxchip/az3166_iotdevkit/az3166_iotdevkit.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
red-pwm-led = &red_pwm_led;
2626
green-pwm-led = &green_pwm_led;
2727
blue-pwm-led = &blue_pwm_led;
28+
29+
accel0 = &lsm6dsl;
2830
};
2931

3032
chosen {
@@ -140,7 +142,7 @@
140142
clock-frequency = <I2C_BITRATE_FAST>;
141143
status = "okay";
142144

143-
lsm6dsl@6a {
145+
lsm6dsl: lsm6dsl@6a {
144146
compatible = "st,lsm6dsl";
145147
reg = <0x6a>;
146148
};

0 commit comments

Comments
 (0)