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>
15 lines
214 B
Plaintext
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";
|
|
};
|
|
};
|