mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ARM: dts: rv1126: 38x38 board: add adc key
Signed-off-by: Yu YongZhen <yuyz@rock-chips.com> Change-Id: If5db303eccd4cfe1a318b1b8f86a5536a36c89e8
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
/dts-v1/;
|
||||
#include "rv1126.dtsi"
|
||||
#include "rv1126-ipc.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Rockchip RV1126 38x38 V10 SPI NOR DDR3 Board";
|
||||
@@ -99,6 +100,20 @@
|
||||
regulator-max-microvolt = <825000>;
|
||||
};
|
||||
|
||||
adc-keys {
|
||||
compatible = "adc-keys";
|
||||
io-channels = <&saradc 0>;
|
||||
io-channel-names = "buttons";
|
||||
poll-interval = <100>;
|
||||
keyup-threshold-microvolt = <1800000>;
|
||||
|
||||
esc-key {
|
||||
label = "esc";
|
||||
linux,code = <KEY_ESC>;
|
||||
press-threshold-microvolt = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
cam_ircut0: cam_ircut {
|
||||
status = "okay";
|
||||
compatible = "rockchip,ircut";
|
||||
@@ -398,6 +413,11 @@
|
||||
>;
|
||||
};
|
||||
|
||||
&saradc {
|
||||
status = "okay";
|
||||
vref-supply = <&vcc_1v8>;
|
||||
};
|
||||
|
||||
&sdmmc0_bus4 {
|
||||
rockchip,pins =
|
||||
/* sdmmc0_d0 */
|
||||
|
||||
Reference in New Issue
Block a user