zephyr/samples/sensor/tmp116/boards/nucleo_f401re.overlay
Guillaume Lager ed68ef5678 samples: tmp116: Add access to eeprom
Add read access to internal tmp116 eeprom which
contains the device unique id after manufacturing

Signed-off-by: Guillaume Lager <g.lager@innoseis.com>
2021-12-08 07:51:46 -06:00

24 lines
379 B
Text

/*
* Copyright (c) 2019 Centaur Analytics, Inc
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c1 {
ti_tmp116: ti_tmp116@4b {
compatible = "ti,tmp116";
reg = <0x4B>;
label = "TMP116";
#address-cells = <1>;
#size-cells = <0>;
eeprom: ti_tmp116_eeprom@0 {
compatible = "ti,tmp116-eeprom";
reg = <0x0>;
label = "TMP116_EEPROM";
read-only;
};
};
};