Add the device node for the computer's embedded controller, responsible
for controlling the LEDs and system power.

Signed-off-by: Lubomir Rintel <[email protected]>
---
 arch/arm/boot/dts/mmp3-dell-ariel.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

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 {
-- 
2.29.2

Reply via email to