mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
arm64: dts: rockchip: add saradc and key for 3399 VR board
Change-Id: I8f331ffc30fe900afbe669c504b96350dd4de79e Signed-off-by: jerry.zhang <jerry.zhang@rock-chips.com>
This commit is contained in:
parent
7f0ee6456f
commit
ba1978bc30
|
|
@ -576,6 +576,47 @@ &tsadc {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&saradc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rk_key {
|
||||
compatible = "rockchip,key";
|
||||
status = "okay";
|
||||
io-channels = <&saradc 1>;
|
||||
|
||||
vol-up-key {
|
||||
linux,code = <115>;
|
||||
label = "volume up";
|
||||
rockchip,adc_value = <340>;
|
||||
};
|
||||
|
||||
vol-down-key {
|
||||
linux,code = <114>;
|
||||
label = "volume down";
|
||||
rockchip,adc_value = <170>;
|
||||
};
|
||||
|
||||
power-key {
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <116>;
|
||||
label = "power";
|
||||
gpio-key,wakeup;
|
||||
};
|
||||
|
||||
back-key {
|
||||
linux,code = <158>;
|
||||
label = "back";
|
||||
rockchip,adc_value = <620>;
|
||||
};
|
||||
|
||||
brightness-key {
|
||||
linux,code = <244>;
|
||||
label = "brightness";
|
||||
rockchip,adc_value = <700>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_xfer &uart0_cts>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user