summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts
diff options
context:
space:
mode:
authorLin Huang <hl@rock-chips.com>2018-12-20 16:51:05 +0800
committerTao Huang <huangtao@rock-chips.com>2018-12-21 17:03:35 +0800
commitef2f9b921c059fcc768599a5e7d02f04abbec0e7 (patch)
treeaa94d970d0441db5d343aaa32ad4bf4ca6d7d5cb /arch/arm64/boot/dts/rockchip/rk1808-evb-v10.dts
parentd4d7e738296f6ca885b906903a5a6fa25f3b7333 (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.dts14
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";
};