boards: Set devicetree alias for Bosch BMI270 nodes

Set accel0 alias for all boards with the BMI270 accelerometer
to use by the accel_polling sample.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
This commit is contained in:
TOKITA Hiroshi 2022-07-22 00:51:46 +09:00 committed by Maureen Helm
commit d8c57bf9fb
2 changed files with 3 additions and 1 deletions

View file

@ -41,6 +41,7 @@
sw1 = &button1;
pwm-buzzer = &pwm0;
watchdog0 = &wdt0;
accel0 = &bmi270;
};
};
@ -74,7 +75,7 @@
label = "SHT3XD";
};
bmi270@68 {
bmi270: bmi270@68 {
compatible = "bosch,bmi270";
reg = <0x68>;
label = "BMI270";

View file

@ -117,6 +117,7 @@
magn0 = &bmm150;
watchdog0 = &wdt0;
accel0 = &adxl362;
accel1 = &bmi270;
};
};