mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
arm64: dts: rockchip: add the adc_keys for rk3399-sapphire-excavator-linux.dts
There are four adc keys on rk3399 sapphire excavator board, these are ESC/MENU/VOL+/VOL- key. Change-Id: I7ddb6343fd22240739a198665d9ccf82d4529af9 Signed-off-by: Caesar Wang <wxt@rock-chips.com>
This commit is contained in:
@@ -50,6 +50,38 @@
|
||||
model = "Rockchip RK3399 Excavator Board (Linux Opensource)";
|
||||
compatible = "rockchip,rk3399-excavator-linux", "rockchip,rk3399";
|
||||
|
||||
adc-keys {
|
||||
compatible = "adc-keys";
|
||||
io-channels = <&saradc 1>;
|
||||
io-channel-names = "buttons";
|
||||
poll-interval = <100>;
|
||||
keyup-threshold-microvolt = <1800000>;
|
||||
|
||||
esc-key {
|
||||
linux,code = <KEY_ESC>;
|
||||
label = "esc";
|
||||
press-threshold-microvolt = <1310000>;
|
||||
};
|
||||
|
||||
menu-key {
|
||||
linux,code = <KEY_MENU>;
|
||||
label = "menu";
|
||||
press-threshold-microvolt = <987000>;
|
||||
};
|
||||
|
||||
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 = <17000>;
|
||||
};
|
||||
};
|
||||
|
||||
fiq_debugger: fiq-debugger {
|
||||
compatible = "rockchip,fiq-debugger";
|
||||
rockchip,serial-id = <2>;
|
||||
|
||||
Reference in New Issue
Block a user