diff options
author | Lin Huang <hl@rock-chips.com> | 2018-12-20 16:51:05 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2018-12-21 17:03:35 +0800 |
commit | ef2f9b921c059fcc768599a5e7d02f04abbec0e7 (patch) | |
tree | aa94d970d0441db5d343aaa32ad4bf4ca6d7d5cb /arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts | |
parent | d4d7e738296f6ca885b906903a5a6fa25f3b7333 (diff) |
arm64: dts: rockchip: rk1808 move adc key label to specific board dts
different board have different key definition, so move adc key label
to specific board dts.
Change-Id: I71da316c639ca0fd063c1ec5c2e303f1a824ed71
Signed-off-by: Lin Huang <hl@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts b/arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts index 572221f11c3c..33d3885b5474 100644 --- a/arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts @@ -24,6 +24,20 @@ }; }; +&adc_key { + vol-down-key { + linux,code = <KEY_VOLUMEDOWN>; + label = "volume down"; + press-threshold-microvolt = <300000>; + }; + + vol-up-key { + linux,code = <KEY_VOLUMEUP>; + label = "volume up"; + press-threshold-microvolt = <18000>; + }; +}; + &display_subsystem { status = "okay"; }; |