Index: src/sys/arch/sparc64/sparc64/ofw_patch.c =================================================================== RCS file: /cvsroot/src/sys/arch/sparc64/sparc64/ofw_patch.c,v retrieving revision 1.13 diff -u -r1.13 ofw_patch.c --- src/sys/arch/sparc64/sparc64/ofw_patch.c 13 Jun 2026 17:17:39 -0000 1.13 +++ src/sys/arch/sparc64/sparc64/ofw_patch.c 25 Jun 2026 19:14:09 -0000 @@ -326,6 +326,24 @@ add_i2c_device(cfg, "temperature-sensor", "i2c-lm75a", 0x4f, 0); } +/* + * Add V245 environmental sensors that are not in the OFW tree. + */ +static void +add_env_sensors_v245(device_t busdev) +{ + prop_array_t cfg; + + DPRINTF(ACDB_PROBE, ("\nAdding sensors for %s ", machine_model)); + cfg = create_i2c_dict(busdev); + + /* LM95221 at 0x2b */ + add_i2c_device(cfg, "temperature-sensor", "i2c-lm95221", 0x2b, 0); + + /* ADT7475 at 0x2e */ + add_i2c_device(cfg, "hardware-monitor", "i2c-adt7475", 0x2e, 0); +} + /* Sensors and GPIO's for E450 and E250 */ static void add_i2c_props_e450(device_t busdev, uint64_t node) @@ -480,6 +498,7 @@ if (device_is_a(busdev, "firei2c")) { if (!strcmp(machine_model, "SUNW,Sun-Fire-V245") || !strcmp(machine_model, "SUNW,Sun-Fire-V215")) { + add_env_sensors_v245(busdev); fix_properties_v245(busdev); } } Index: src/sys/dev/i2c/dbcool.c =================================================================== RCS file: /cvsroot/src/sys/dev/i2c/dbcool.c,v retrieving revision 1.68 diff -u -r1.68 dbcool.c --- src/sys/dev/i2c/dbcool.c 5 Oct 2025 04:26:08 -0000 1.68 +++ src/sys/dev/i2c/dbcool.c 25 Jun 2026 19:14:09 -0000 @@ -732,6 +732,7 @@ static const struct device_compatible_entry compat_data[] = { { .compat = "i2c-adm1031" }, + { .compat = "i2c-adt7475" }, { .compat = "adt7467" }, { .compat = "adt7460" }, { .compat = "adm1030" },