projects
/
openwrt
/
staging
/
dedeckeh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
octeon: Remove kernel 4.14 support
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
sunxi
/
patches-4.14
/
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
@@ -87,7 +87,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
};
11
};
12
@@ -203,7 +203,7 @@
13
};
14
15
&usb_otg {
16
- dr_mode = "otg";
17
+ dr_mode = "host";
18
status = "okay";
19
};
20