zephyr/samples/sensor/amg88xx/app.overlay
Johann Fischer 664a1cf0db drivers: amg88xx: convert to new GPIO API
Convert AMG88XX sensor driver to new GPIO API.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-02-05 12:00:36 +01:00

18 lines
350 B
Text

/*
* Copyright (c) 2019 Phytec Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_i2c {
status = "okay";
amg88xx@68 {
compatible = "panasonic,amg88xx";
reg = <0x68>;
label = "AMG88XX";
/* Pin D6 from Arduino Connector */
int-gpios = <&arduino_header 12 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
status = "okay";
};
};