From: 郭毅 Date: Fri, 28 Mar 2014 06:06:16 +0000 (+0800) Subject: p977: dts: move headset, set back-key, move gpu 600M X-Git-Tag: firefly_0821_release~5748 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9d4ebfb9226f7363c84f3c4feacba2c24706f224;p=firefly-linux-kernel-4.4.55.git p977: dts: move headset, set back-key, move gpu 600M --- diff --git a/arch/arm/boot/dts/rk3288-p977.dts b/arch/arm/boot/dts/rk3288-p977.dts index 1a6e5df5e225..f6130f7ed473 100755 --- a/arch/arm/boot/dts/rk3288-p977.dts +++ b/arch/arm/boot/dts/rk3288-p977.dts @@ -415,17 +415,6 @@ &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"; @@ -449,25 +438,25 @@ 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"; @@ -501,7 +490,7 @@ 200000 1200000 300000 1200000 400000 1200000 - 600000 1300000 + // 600000 1300000 >; };