1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/amd,sbtsi.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: > 8*5def4c47SEmmanuel Vadot Sideband interface Temperature Sensor Interface (SB-TSI) compliant 9*5def4c47SEmmanuel Vadot AMD SoC temperature device 10*5def4c47SEmmanuel Vadot 11*5def4c47SEmmanuel Vadotmaintainers: 12*5def4c47SEmmanuel Vadot - Kun Yi <kunyi@google.com> 13*5def4c47SEmmanuel Vadot - Supreeth Venkatesh <supreeth.venkatesh@amd.com> 14*5def4c47SEmmanuel Vadot 15*5def4c47SEmmanuel Vadotdescription: | 16*5def4c47SEmmanuel Vadot SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible 17*5def4c47SEmmanuel Vadot interface that reports AMD SoC's Ttcl (normalized temperature), 18*5def4c47SEmmanuel Vadot and resembles a typical 8-pin remote temperature sensor's I2C interface 19*5def4c47SEmmanuel Vadot to BMC. The emulated thermal sensor can report temperatures in increments 20*5def4c47SEmmanuel Vadot of 0.125 degrees, ranging from 0 to 255.875. 21*5def4c47SEmmanuel Vadot 22*5def4c47SEmmanuel Vadotproperties: 23*5def4c47SEmmanuel Vadot compatible: 24*5def4c47SEmmanuel Vadot enum: 25*5def4c47SEmmanuel Vadot - amd,sbtsi 26*5def4c47SEmmanuel Vadot 27*5def4c47SEmmanuel Vadot reg: 28*5def4c47SEmmanuel Vadot maxItems: 1 29*5def4c47SEmmanuel Vadot description: | 30*5def4c47SEmmanuel Vadot I2C bus address of the device as specified in Section 6.3.1 of the 31*5def4c47SEmmanuel Vadot SoC register reference. The SB-TSI address is normally 98h for socket 32*5def4c47SEmmanuel Vadot 0 and 90h for socket 1, but it could vary based on hardware address 33*5def4c47SEmmanuel Vadot select pins. 34*5def4c47SEmmanuel Vadot \[open source SoC register reference\] 35*5def4c47SEmmanuel Vadot https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf 36*5def4c47SEmmanuel Vadot 37*5def4c47SEmmanuel Vadotrequired: 38*5def4c47SEmmanuel Vadot - compatible 39*5def4c47SEmmanuel Vadot - reg 40*5def4c47SEmmanuel Vadot 41*5def4c47SEmmanuel VadotadditionalProperties: false 42*5def4c47SEmmanuel Vadot 43*5def4c47SEmmanuel Vadotexamples: 44*5def4c47SEmmanuel Vadot - | 45*5def4c47SEmmanuel Vadot i2c0 { 46*5def4c47SEmmanuel Vadot #address-cells = <1>; 47*5def4c47SEmmanuel Vadot #size-cells = <0>; 48*5def4c47SEmmanuel Vadot 49*5def4c47SEmmanuel Vadot sbtsi@4c { 50*5def4c47SEmmanuel Vadot compatible = "amd,sbtsi"; 51*5def4c47SEmmanuel Vadot reg = <0x4c>; 52*5def4c47SEmmanuel Vadot }; 53*5def4c47SEmmanuel Vadot }; 54*5def4c47SEmmanuel Vadot... 55