]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/omap3-n900.dts
Merge branches 'for-4.6/upstream-fixes', 'for-4.7/asus', 'for-4.7/hidraw' and 'for...
[karo-tx-linux.git] / arch / arm / boot / dts / omap3-n900.dts
index e3bdcf819643eededad95cb6bdd76b97563d187c..b3c26a96a7262bdc2356060f900cc9b0c8bbd8eb 100644 (file)
                camera_lens_cover {
                        label = "Camera Lens Cover";
                        gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* 110 */
-                       linux,input-type = <5>; /* EV_SW */
-                       linux,code = <0x09>; /* SW_CAMERA_LENS_COVER */
-                       wakeup-source;
+                       linux,input-type = <EV_SW>;
+                       linux,code = <SW_CAMERA_LENS_COVER>;
+                       linux,can-disable;
                };
 
                camera_focus {
                        label = "Camera Focus";
                        gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */
-                       linux,code = <0x210>; /* KEY_CAMERA_FOCUS */
-                       wakeup-source;
+                       linux,code = <KEY_CAMERA_FOCUS>;
+                       linux,can-disable;
                };
 
                camera_capture {
                        label = "Camera Capture";
                        gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */
-                       linux,code = <0xd4>; /* KEY_CAMERA */
-                       wakeup-source;
+                       linux,code = <KEY_CAMERA>;
+                       linux,can-disable;
                };
 
                lock_button {
                        label = "Lock Button";
                        gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */
-                       linux,code = <0x98>; /* KEY_SCREENLOCK */
-                       wakeup-source;
+                       linux,code = <KEY_SCREENLOCK>;
+                       linux,can-disable;
                };
 
                keypad_slide {
                        label = "Keypad Slide";
                        gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; /* 71 */
-                       linux,input-type = <5>; /* EV_SW */
-                       linux,code = <0x0a>; /* SW_KEYPAD_SLIDE */
-                       wakeup-source;
+                       linux,input-type = <EV_SW>;
+                       linux,code = <SW_KEYPAD_SLIDE>;
+                       linux,can-disable;
                };
 
                proximity_sensor {
                        label = "Proximity Sensor";
                        gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */
-                       linux,input-type = <5>; /* EV_SW */
-                       linux,code = <0x0b>; /* SW_FRONT_PROXIMITY */
+                       linux,input-type = <EV_SW>;
+                       linux,code = <SW_FRONT_PROXIMITY>;
+                       linux,can-disable;
                };
        };
 
                amstaos,cover-comp-gain = <16>;
        };
 
+       adp1653: led-controller@30 {
+               compatible = "adi,adp1653";
+               reg = <0x30>;
+               enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
+
+               flash {
+                       flash-timeout-us = <500000>;
+                       flash-max-microamp = <320000>;
+                       led-max-microamp = <50000>;
+               };
+               indicator {
+                       led-max-microamp = <17500>;
+               };
+       };
+
        lp5523: lp5523@32 {
                compatible = "national,lp5523";
                reg = <0x32>;