ARM: dts: omap3-n900: Add LP5523 support
authorSebastian Reichel <sre@debian.org>
Tue, 22 Oct 2013 22:49:42 +0000 (00:49 +0200)
committerBenoit Cousson <bcousson@baylibre.com>
Wed, 23 Oct 2013 08:14:58 +0000 (10:14 +0200)
Add support for LP5523 device.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-n900.dts

index 98797e521c5875be5dc59dc230557ceb076635e6..c4f20bfe4cce15e641af5ef08c92ca939973b9c3 100644 (file)
                DVDD-supply = <&vio>;
        };
 
+       lp5523: lp5523@32 {
+               compatible = "national,lp5523";
+               reg = <0x32>;
+               clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
+               enable-gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* 41 */
+
+               chan0 {
+                       chan-name = "lp5523:kb1";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan1 {
+                       chan-name = "lp5523:kb2";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan2 {
+                       chan-name = "lp5523:kb3";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan3 {
+                       chan-name = "lp5523:kb4";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan4 {
+                       chan-name = "lp5523:b";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan5 {
+                       chan-name = "lp5523:g";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan6 {
+                       chan-name = "lp5523:r";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan7 {
+                       chan-name = "lp5523:kb5";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+
+               chan8 {
+                       chan-name = "lp5523:kb6";
+                       led-cur = /bits/ 8 <50>;
+                       max-cur = /bits/ 8 <100>;
+               };
+       };
+
        bq27200: bq27200@55 {
                compatible = "ti,bq27200";
                reg = <0x55>;