samples: sensor: adt7420: fix frdm_k64f devicetree overlay

The device address can only be 0x48 through 0x1B.  C6 is connected to
the FXOS870 and is not exposed on a header: switch to Arduino D0.

Move this to a boards subdirectory so we can add other overlays
without cluttering the root.

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

View file

@ -4,13 +4,13 @@
* SPDX-License-Identifier: Apache-2.0
*/
&i2c1 {
&i2c0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
adt7420@13 {
adt7420@48 {
compatible = "adi,adt7420";
reg = <0x13>;
reg = <0x48>;
label = "ADT7420";
int-gpios = <&gpioc 6 0>;
int-gpios = <&gpioc 16 0>;
};
};