arm64: dts: rockchip: Add recovery key support for rk3328-evb

Define recovery key for uboot if uboot used kernel dtb

Change-Id: Iad91e1ba5109c82512d125981f0a26aa6cf1ddc2
Signed-off-by: Zain Wang <wzz@rock-chips.com>
This commit is contained in:
Zain Wang
2018-10-30 15:43:47 +08:00
committed by Tao Huang
parent 45c30c790c
commit 1c36317df0

View File

@@ -64,6 +64,20 @@
status = "okay";
};
adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 0>;
io-channel-names = "buttons";
poll-interval = <100>;
keyup-threshold-microvolt = <1800000>;
vol-up-key {
linux,code = <KEY_VOLUMEUP>;
label = "volume up";
press-threshold-microvolt = <18000>;
};
};
gmac_clkin: external-gmac-clock {
compatible = "fixed-clock";
clock-frequency = <125000000>;
@@ -545,6 +559,11 @@
status = "okay";
};
&saradc {
status = "okay";
vref-supply = <&vdd_18>;
};
&sdio {
bus-width = <4>;
cap-sd-highspeed;