boards: frdm_kl25z: use fxos8700 driver for MMA8451
Use fxos8700 driver for MMA8451 accelerometer. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
5b522ef055
commit
8a16fa400c
3 changed files with 12 additions and 4 deletions
|
@ -65,9 +65,11 @@
|
|||
&i2c0 {
|
||||
status = "ok";
|
||||
mma8451q@1d {
|
||||
compatible = "nxp,mma8451q";
|
||||
compatible = "nxp,fxos8700","nxp,mma8451q";
|
||||
reg = <0x1d>;
|
||||
label = "MMA8451Q";
|
||||
int1-gpios = <&gpioa 14 0>;
|
||||
int2-gpios = <&gpioa 15 0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue