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:
parent
916a8eb3a5
commit
be904bc289
1 changed files with 4 additions and 4 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue