[PATCH 1/5] MIPS: dts: rzx50.dts: add LCD backlight

Antony Pavlov antonynpavlov at gmail.com
Wed Jul 30 10:34:32 PDT 2014


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/dts/rzx50.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/mips/dts/rzx50.dts b/arch/mips/dts/rzx50.dts
index 360c1bf..7ec3352 100644
--- a/arch/mips/dts/rzx50.dts
+++ b/arch/mips/dts/rzx50.dts
@@ -9,6 +9,16 @@
 	memory {
 		reg = <0x00000000 0x4000000>;
 	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		lcd-backlight-enable {
+			label = "lcd backlight";
+			gpios = <&gpio4 22 0>;
+			linux,default-trigger = "default-on";
+		};
+	};
 };
 
 &serial1 {
-- 
2.0.1




More information about the barebox mailing list