zephyr/samples/sensor/max44009/boards/frdm_k64f.overlay
Kumar Gala ddddbf9f84 sensor: max44009: Convert to DTS
Convert max44009 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

15 lines
214 B
Plaintext

/*
* Copyright (c) 2019, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 {
max44009@4a {
compatible = "maxim,max44009";
reg = <0x4a>;
int-gpios = <&gpioc 6 0>;
label = "MAX44009";
};
};