1/*
2 * Copyright 2023 Daniel DeGrasse <daniel@degrasse.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	aliases {
9		ambient-temp0 = &temp_sensor;
10	};
11};
12
13/*
14 * Note- TCN75A is not present on the FRDM-K22F eval board, and must be
15 * wired to i2c0 and PTC2 externally
16 */
17&i2c0 {
18	temp_sensor: tcn75a@48 {
19		reg = <0x48>;
20		compatible = "microchip,tcn75a";
21		alert-gpios = <&gpioc 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
22		resolution = "10-bit";
23	};
24};
25