zephyr/samples/sensor/tmp112/boards/frdm_k64f.overlay
Kumar Gala b388b178a0 sensor: tmp112: Convert to DTS
Convert tmp112 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
177 B
Plaintext

/*
* Copyright (c) 2019, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 {
tmp112@4a {
compatible = "ti,tmp112";
reg = <0x4a>;
label = "TMP112";
};
};