Skip to content

Commit 549d740

Browse files
committed
armbian: remove adc-keys from RK3576 U-Boot device tree
SARADC channel 1 is susceptible to electrical interference when a USB device is connected to the OTG port, causing rockchip_dnl_key_pressed() to return true and U-Boot to enter download/recovery mode instead of normal boot. The reComputer board has no physical volume-up button; this node was inherited from the reference design and is not needed.
1 parent 7ba21c6 commit 549d740

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

patch/u-boot/legacy/u-boot-radxa-rk35xx/dt/rk3576-recomputer-rk3576-devkit.dts

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,14 @@
1313
model = "reComputer RK3576 DevKit";
1414
compatible = "seeed,recomputer-rk3576-devkit", "rockchip,rk3576";
1515

16-
adc-keys {
17-
compatible = "adc-keys";
18-
io-channels = <&saradc 1>;
19-
io-channel-names = "buttons";
20-
keyup-threshold-microvolt = <1800000>;
21-
u-boot,dm-pre-reloc;
22-
status = "okay";
23-
24-
volumeup-key {
25-
u-boot,dm-pre-reloc;
26-
linux,code = <KEY_VOLUMEUP>;
27-
label = "volume up";
28-
press-threshold-microvolt = <1750000>;
29-
};
30-
};
16+
/*
17+
* adc-keys removed: SARADC channel 1 is susceptible to electrical
18+
* interference when a USB device is connected to the OTG port, causing
19+
* rockchip_dnl_key_pressed() to return true and U-Boot to enter
20+
* download/recovery mode instead of normal boot.
21+
* The reComputer board has no physical volume-up button; this node was
22+
* inherited from the reference design and is not needed.
23+
*/
3124

3225
vcc3v3_pcie: vcc3v3-pcie {
3326
u-boot,dm-pre-reloc;

0 commit comments

Comments
 (0)