diff mbox series

[09/12] ARM: dts: mmp3-dell-ariel: Add the embedded controller

Message ID 20210121034130.1381872-10-lkundrak@v3.sk (mailing list archive)
State Accepted
Commit e691d58e3383a09e2171a6dfbb1f5b368a2ce2f3
Headers show
Series [01/12] dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property | expand

Commit Message

Lubomir Rintel Jan. 21, 2021, 3:41 a.m. UTC
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>
---
 arch/arm/boot/dts/mmp3-dell-ariel.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts
index 53714cb0d171e..565cd0fadf3d3 100644
--- a/arch/arm/boot/dts/mmp3-dell-ariel.dts
+++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts
@@ -95,6 +95,15 @@  &twsi3 {
 
 &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 {