kernel/sunxi: Restore kernel files for v6.1
[openwrt/staging/stintel.git] / target / linux / sunxi / patches-6.1 / 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