p977: dts: move headset, set back-key, move gpu 600M
author郭毅 <gy@rock-chips.com>
Fri, 28 Mar 2014 06:06:16 +0000 (14:06 +0800)
committer郭毅 <gy@rock-chips.com>
Fri, 28 Mar 2014 06:06:16 +0000 (14:06 +0800)
arch/arm/boot/dts/rk3288-p977.dts

index 1a6e5df5e2255a0f3ae6b27286c9e1025764c3e8..f6130f7ed47307c4bc64832001dfa467fd7f4a08 100755 (executable)
 &adc {
        status = "okay";
 
-       rockchip_headset {
-               compatible = "rockchip_headset";
-               headset_gpio = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&gpio0_c2>;
-               io-channels = <&adc 2>; 
-       /*
-               hook_gpio = ;
-               hook_down_type = ; //interrupt hook key down status 
-               */       
-       };
 
        key {
                compatible = "rockchip,key";
                        label = "power";
                        gpio-key,wakeup;
                };
-/*
-               menu-key {
-                       linux,code = <139>;
-                       label = "menu";
+
+               back-key {
+                       linux,code = <158>;
+                       label = "back";
                        rockchip,adc_value = <355>;
                };
-
+/*
                home-key {
                        linux,code = <102>;
                        label = "home";
                        rockchip,adc_value = <746>;
                };
-*/
+
                back-key {
                        linux,code = <158>;
                        label = "back";
                        rockchip,adc_value = <560>;
                };
-
+*/
                camera-key {
                        linux,code = <212>;
                        label = "camera";
                200000 1200000
                300000 1200000
                400000 1200000
-               600000 1300000
+       //      600000 1300000
                >;
 };