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>
14 lines
180 B
Plaintext
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";
|
|
};
|
|
};
|