From: wdc Date: Wed, 30 Jul 2014 08:38:30 +0000 (+0800) Subject: Revert "312x: add key dts node" X-Git-Tag: firefly_0821_release~4916^2~118 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b1ce43e58dac2c0344c4b0bedb9d7038a1d75540;p=firefly-linux-kernel-4.4.55.git Revert "312x: add key dts node" This reverts commit 1b62e7546ef43aeb6eab7f5eafd2392c4a8e80bb. --- diff --git a/arch/arm/boot/dts/rk3036-sdk.dts b/arch/arm/boot/dts/rk3036-sdk.dts index 94aa061781f4..a77e61db1491 100644 --- a/arch/arm/boot/dts/rk3036-sdk.dts +++ b/arch/arm/boot/dts/rk3036-sdk.dts @@ -197,59 +197,6 @@ }; -&adc { - status = "okay"; - - key { - compatible = "rockchip,key"; - io-channels = <&adc 1>; - - vol-up-key { - linux,code = <115>; - label = "volume up"; - rockchip,adc_value = <1>; - }; - - vol-down-key { - linux,code = <114>; - label = "volume down"; - rockchip,adc_value = <170>; - }; - - power-key { - gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>; - linux,code = <116>; - label = "power"; - gpio-key,wakeup; - }; - - menu-key { - linux,code = <59>; - label = "menu"; - 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"; - rockchip,adc_value = <450>; - }; - }; -}; - - &i2c1 { status = "okay"; rtc@51 {