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:
Johann Fischer 2018-09-26 17:19:26 +02:00 committed by Maureen Helm
commit 8a16fa400c
3 changed files with 12 additions and 4 deletions

View file

@ -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>;
};
};