rockchip: add adc-keys for fastrhino r68s

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-11-01 18:30:11 +08:00
parent 0374a948b3
commit be624d8858
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -13,6 +13,19 @@
ethernet3 = &rtl8125_2;
mmc0 = &sdhci;
};
adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 0>;
io-channel-names = "buttons";
keyup-threshold-microvolt = <1800000>;
recovery {
label = "Recovery";
linux,code = <KEY_VENDOR>;
press-threshold-microvolt = <9>;
};
};
};
&gmac0 {