zephyr/samples/sensor/bmm150/boards/frdm_k64f.overlay
Kumar Gala 7b8b5524be sensor: bmm150: Convert to DTS
Convert bmm150 sensor driver and sample app to utilize device tree.

Introduce a dts board overlay on the frdm_k64f board to ensure we at
least have a single platform in which the sample gets built.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-11-08 07:44:54 -06:00

14 lines
180 B
Plaintext

/*
* Copyright (c) 2019, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 {
bmm150@10 {
compatible = "bosch,bmm150";
reg = <0x10>;
label = "BMM150";
};
};