samples: adxl372: switch i2c interface on frdm_k64f

Switch to using I2C0 as this I2C controller on the FRDM-K64F is actually
configured (pinmux) for use and is available on an arduino header if
someone would wire up an adxl372 to it.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-05-04 08:40:57 -05:00 committed by Kumar Gala
commit 1004d55653

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
&i2c1 {
&i2c0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
adxl372@11 {