From 6ecc0c53c0a7a8bff05f7714d38c75b78260ed3f Mon Sep 17 00:00:00 2001 From: Peter Bigot Date: Sat, 21 Dec 2019 06:01:46 -0600 Subject: [PATCH] samples: sensor: adt7420: add nrf52_pca10040 devicetree overlay Expand the set of hardware this can be tested with. Signed-off-by: Peter Bigot --- .../sensor/adt7420/boards/nrf52_pca10040.overlay | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 samples/sensor/adt7420/boards/nrf52_pca10040.overlay diff --git a/samples/sensor/adt7420/boards/nrf52_pca10040.overlay b/samples/sensor/adt7420/boards/nrf52_pca10040.overlay new file mode 100644 index 00000000000..1b96a722768 --- /dev/null +++ b/samples/sensor/adt7420/boards/nrf52_pca10040.overlay @@ -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 = ; + adt7420@48 { + compatible = "adi,adt7420"; + reg = <0x48>; + label = "ADT7420"; + int-gpios = <&gpio0 11 0>; + }; +};