samples: sensor: adt7420: add nrf52_pca10040 devicetree overlay

Expand the set of hardware this can be tested with.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2019-12-21 06:01:46 -06:00 committed by Carles Cufí
commit 6ecc0c53c0

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 { /* SDA P0.26, SCL P0.27, ALERT P0.11 */
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
adt7420@48 {
compatible = "adi,adt7420";
reg = <0x48>;
label = "ADT7420";
int-gpios = <&gpio0 11 0>;
};
};