projects
/
openwrt
/
staging
/
blocktrron.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2c5ccd7d96deb0c8899e270db25c73e3d739fe0f
[openwrt/staging/blocktrron.git]
/
target
/
linux
/
sunxi
/
patches-6.6
/
301-orangepi_pc2_usb_otg_to_host_key_power.patch
1
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
2
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
3
@@ -59,7 +59,7 @@
4
5
key-sw4 {
6
label = "sw4";
7
- linux,code = <BTN_0>;
8
+ linux,code = <KEY_POWER>;
9
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
10
wakeup-source;
11
};
12
@@ -220,7 +220,7 @@
13
};
14
15
&usb_otg {
16
- dr_mode = "otg";
17
+ dr_mode = "host";
18
status = "okay";
19
};
20