ARM: dts: mmp3-dell-ariel: Add the embedded controller
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 21 Jan 2021 03:41:27 +0000 (04:41 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 2 Feb 2021 17:14:00 +0000 (18:14 +0100)
Add the device node for the computer's embedded controller, responsible
for controlling the LEDs and system power.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20210121034130.1381872-10-lkundrak@v3.sk'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/mmp3-dell-ariel.dts

index 53714cb..565cd0f 100644 (file)
 
 &twsi4 {
        status = "okay";
+
+       embedded-controller@58 {
+               compatible = "dell,wyse-ariel-ec", "ene,kb3930";
+               reg = <0x58>;
+               system-power-controller;
+
+               off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
+                           <&gpio 127 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &ssp1 {