projects
/
openwrt
/
staging
/
jow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sunxi: copy config and patches from 5.10 to 5.15
[openwrt/staging/jow.git]
/
target
/
linux
/
sunxi
/
patches-5.15
/
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
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