Commit be904bc2 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

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: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 916a8eb3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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>;
	};
};