2021-02-01 07:35:03 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Ryan Holleran
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-06-30 05:15:53 +08:00
|
|
|
/ {
|
|
|
|
aliases {
|
2022-09-26 18:35:05 +08:00
|
|
|
magn0 = &fxos8700_1e_frdm_stbc_agm01;
|
|
|
|
accel0 = &fxos8700_1e_frdm_stbc_agm01;
|
2022-06-30 05:15:53 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-01 07:35:03 +08:00
|
|
|
&arduino_i2c {
|
2022-09-23 23:07:07 +08:00
|
|
|
fxos8700_1e_frdm_stbc_agm01: fxos8700@1e {
|
2021-02-01 07:35:03 +08:00
|
|
|
compatible = "nxp,fxos8700";
|
|
|
|
reg = <0x1e>;
|
|
|
|
int1-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
|
|
|
|
int2-gpios = <&arduino_header 10 GPIO_ACTIVE_LOW>;
|
2022-09-23 23:07:07 +08:00
|
|
|
};
|
2021-02-01 07:35:03 +08:00
|
|
|
|
2022-09-23 23:07:07 +08:00
|
|
|
fxas21002_frdm_stbc_agm01: fxas21002@20 {
|
|
|
|
compatible = "nxp,fxas21002";
|
2021-02-01 07:35:03 +08:00
|
|
|
reg = <0x20>;
|
|
|
|
int1-gpios = <&arduino_header 11 GPIO_ACTIVE_LOW>;
|
|
|
|
int2-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>;
|
2022-09-23 23:07:07 +08:00
|
|
|
};
|
2021-02-01 07:35:03 +08:00
|
|
|
};
|