@@ -115,36 +115,29 @@ cpcap_usb2_phy: phy {
io-channel-names = "vbus", "id";
vusb-supply = <&vusb>;
};
+ };
+};
- 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_red: led-red {
+ compatible = "motorola,cpcap-led-red";
+ vdd-supply = <&sw5>;
+ label = "status-led:red";
+ cpcap-phandle = <&cpcap>;
+ };
- led_adl: led-adl {
- compatible = "motorola,cpcap-led-adl";
- vdd-supply = <&sw5>;
- label = "button-backlight";
- };
+ led_green: led-green {
+ compatible = "motorola,cpcap-led-green";
+ vdd-supply = <&sw5>;
+ label = "status-led:green";
+ cpcap-phandle = <&cpcap>;
+ };
- led_cp: led-cp {
- compatible = "motorola,cpcap-led-cp";
- vdd-supply = <&sw5>;
- label = "shift-key-light";
- };
+ led_blue: led-blue {
+ compatible = "motorola,cpcap-led-blue";
+ vdd-supply = <&sw5>;
+ label = "status-led:blue";
+ cpcap-phandle = <&cpcap>;
};
};
@@ -6,6 +6,13 @@
/ {
model = "Motorola Droid Bionic XT875";
compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4";
+
+ led_kl: led-kl {
+ compatible = "motorola,cpcap-led-kl";
+ vdd-supply = <&sw5>;
+ label = "button-backlight";
+ cpcap-phandle = <&cpcap>;
+ };
};
&keypad {
@@ -31,6 +31,20 @@ slider {
debounce-interval = <10>;
};
};
+
+ led_adl: led-adl {
+ compatible = "motorola,cpcap-led-adl";
+ vdd-supply = <&sw5>;
+ label = "button-backlight";
+ cpcap-phandle = <&cpcap>;
+ };
+
+ led_cp: led-cp {
+ compatible = "motorola,cpcap-led-cp";
+ vdd-supply = <&sw5>;
+ label = "shift-key-light";
+ cpcap-phandle = <&cpcap>;
+ };
};
/ {
Removes non-functional leds from xt875 and adds its touchscreen button light Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz> --- .../arm/boot/dts/motorola-cpcap-mapphone.dtsi | 47 ++++++++----------- .../arm/boot/dts/omap4-droid-bionic-xt875.dts | 7 +++ arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++ 3 files changed, 41 insertions(+), 27 deletions(-)