Skip to content

Commit 0072b18

Browse files
committed
samples: sensor: adt7420: add nrf52_pca10040 devicetree overlay
Expand the set of hardware this can be tested with. Signed-off-by: Peter Bigot <[email protected]>
1 parent 3d2dca9 commit 0072b18

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2019 Linaro Limited
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&i2c0 { /* SDA P0.26, SCL P0.27, ALERT P0.11 */
8+
status = "okay";
9+
clock-frequency = <I2C_BITRATE_STANDARD>;
10+
adt7420@48 {
11+
compatible = "adi,adt7420";
12+
reg = <0x48>;
13+
label = "ADT7420";
14+
int-gpios = <&gpio0 11 0>;
15+
};
16+
};

0 commit comments

Comments
 (0)