ARM: tegra: chagall: Add embedded controller node

Add embedded controller node to Pegatron Chagall device-tree.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Link: https://lore.kernel.org/r/20250429061803.9581-5-clamor95@gmail.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Svyatoslav Ryhel 2025-04-29 09:18:02 +03:00 committed by Thierry Reding
parent 118a745e61
commit 3c2c00572f

View File

@ -1155,6 +1155,14 @@ lcd_ddc: i2c@7000c000 {
status = "okay";
clock-frequency = <400000>;
embedded-controller@10 {
compatible = "pegatron,chagall-ec";
reg = <0x10>;
monitored-battery = <&battery>;
power-supplies = <&mains>;
};
/* Wolfson Microelectronics WM8903 audio codec */
wm8903: audio-codec@1a {
compatible = "wlf,wm8903";
@ -2596,6 +2604,14 @@ backlight: backlight {
default-brightness-level = <15>;
};
battery: battery-cell {
compatible = "simple-battery";
device-chemistry = "lithium-ion-polymer";
charge-full-design-microamp-hours = <3050000>;
energy-full-design-microwatt-hours = <23000000>;
operating-range-celsius = <0 45>;
};
/* PMIC has a built-in 32KHz oscillator which is used by PMC */
clk32k_in: clock-32k {
compatible = "fixed-clock";