1/* 2 * Copyright (c) 2024 Arrow Electronics. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 aliases { 9 ambient-temp0 = &tmp1075_temperature; 10 }; 11}; 12 13/* 14 * Note - TMP1075 is not present on the Nucleo h7a3zi_q eval board, and must be 15 * wired to i2c1 externally. 16 */ 17&i2c1 { 18 pinctrl-0 = <&i2c1_sda_pb7 &i2c1_scl_pb6>; 19 pinctrl-names = "default"; 20 compatible = "st,stm32-i2c-v2"; 21 status = "okay"; 22 tmp1075_temperature: tmp1075@48 { 23 compatible = "ti,tmp1075"; 24 friendly-name = "texas_temperature_tmp1075"; 25 reg = <0x48>; 26 alert-gpios = <&gpiob 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 27 conversion-rate = <220000>; 28 lower-threshold = <27>; 29 upper-threshold = <28>; 30 consecutive-fault-measurements = <4>; 31 interrupt-mode; 32 }; 33}; 34