octeon: disable edgerouter image
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.19 / 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 @@ -98,7 +98,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 @@ -238,7 +238,7 @@
13 };
14
15 &usb_otg {
16 - dr_mode = "otg";
17 + dr_mode = "host";
18 status = "okay";
19 };
20