From 6ab2218adb6533f244664885702c451586f1a1e0 Mon Sep 17 00:00:00 2001 From: Christos Karampeazis-Papadakis <christos.karampeazis@seco.com> Date: Thu, 13 Feb 2025 16:43:07 +0100 Subject: [PATCH] [E81][DTS] Add device tree entries for peripheral i2c devices i2c1: - HT16K33 Auxiliary Display - TI TMP102 Onboard Temperature Sensor - TI IN219 Onboard Current Sensor i2c2: - LTC4100 Smart Battery Charger Controller - Atmel 24C32 EEPROM --- .../dts/seco/include/baseboard-e81-b79.dtsi | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/seco/include/baseboard-e81-b79.dtsi b/arch/arm64/boot/dts/seco/include/baseboard-e81-b79.dtsi index 032b3ae2ecbc3..05c2af24fab4c 100644 --- a/arch/arm64/boot/dts/seco/include/baseboard-e81-b79.dtsi +++ b/arch/arm64/boot/dts/seco/include/baseboard-e81-b79.dtsi @@ -105,4 +105,44 @@ gpio_usb3_en_oc_n { }; }; + +&i2c1 { + postcode: ht16k33@71 { + compatible = "holtek,ht16k33"; + reg = <0x71>; + refresh-rate-hz = <10>; + status = "disabled"; + // Disabled by default, as it gets attached + // as /dev/fb0 and breaks the splash screen + }; + + hwmon: tmp102@49 { + compatible = "ti,tmp102"; + reg = <0x49>; + status = "okay"; + }; + + current_sense: ina219@40 { + compatible = "ti,ina219"; + reg = <0x40>; + // shunt-resistor = <60000>; /* = 60 mOhms */ + }; +}; + +&i2c2 { + charger: ltc4100@9 { + compatible = "lltc,ltc4100", "sbs,sbs-charger"; + reg = <0x9>; + status = "okay"; + }; + + eeprom: eeprom@57 { + compatible = "atmel,24c32"; + reg = <0x57>; + pagesize = <32>; + vcc-supply = <®_1v8>; + status = "okay"; + }; +}; + #endif -- GitLab