]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: motorola-cpcap-mapphone: add LEDs
authorSebastian Reichel <sre@kernel.org>
Sun, 5 Mar 2017 17:22:34 +0000 (18:22 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Mar 2017 16:09:16 +0000 (09:09 -0700)
Add LEDs.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi

index 9970985e685bdcf8ec1ff0bfacf0576133ae8b4b..e02982d69854fc721d860eb4c593c473013e6687 100644 (file)
 
                        interrupts = <23 IRQ_TYPE_NONE>;
                };
+
+               led_red: led-red {
+                       compatible = "motorola,cpcap-led-red";
+                       vdd-supply = <&sw5>;
+                       label = "status-led:red";
+               };
+
+               led_green: led-green {
+                       compatible = "motorola,cpcap-led-green";
+                       vdd-supply = <&sw5>;
+                       label = "status-led:green";
+               };
+
+               led_blue: led-blue {
+                       compatible = "motorola,cpcap-led-blue";
+                       vdd-supply = <&sw5>;
+                       label = "status-led:blue";
+               };
+
+               led_adl: led-adl {
+                       compatible = "motorola,cpcap-led-adl";
+                       vdd-supply = <&sw5>;
+                       label = "button-backlight";
+               };
+
+               led_cp: led-cp {
+                       compatible = "motorola,cpcap-led-cp";
+                       vdd-supply = <&sw5>;
+                       label = "shift-key-light";
+               };
        };
 };