From 9d4ebfb9226f7363c84f3c4feacba2c24706f224 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=83=AD=E6=AF=85?= Date: Fri, 28 Mar 2014 14:06:16 +0800 Subject: [PATCH] p977: dts: move headset, set back-key, move gpu 600M --- arch/arm/boot/dts/rk3288-p977.dts | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) 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 >; }; -- 2.34.1