boards: arm: twr_ke18f: add I2C support

Add I2C support to the NXP TWR-KE18F development board.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2019-05-14 17:06:13 +02:00 committed by Maureen Helm
commit 4770b1ebec
5 changed files with 79 additions and 0 deletions

View file

@ -118,6 +118,21 @@
current-speed = <115200>;
};
&i2c0 {
status = "ok";
fxos8700: fxos8700@1d {
compatible = "nxp,fxos8700";
reg = <0x1d>;
label = "FXOS8700";
reset-gpios = <&gpioc 15 0>;
};
};
&i2c1 {
status = "ok";
};
&flash0 {
/*
* For more information, see: