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:
parent
be904bc289
commit
6ecc0c53c0
1 changed files with 16 additions and 0 deletions
16
samples/sensor/adt7420/boards/nrf52_pca10040.overlay
Normal file
16
samples/sensor/adt7420/boards/nrf52_pca10040.overlay
Normal 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>;
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue