tools: e2fsprogs: drop e2fsck patch
[openwrt/openwrt.git] / package / boot / uboot-mediatek / patches / 402-update-bananapi-bpi-r64-device-tree.patch
index 7aa0ca9c88919896c8c9a63efa3a9be50ef4ff79..c8066a7e2d4eb64ad99ee7b961d693023996f0ca 100644 (file)
@@ -1,6 +1,14 @@
 --- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
 +++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
-@@ -20,6 +20,7 @@
+@@ -5,6 +5,7 @@
+  */
+ /dts-v1/;
++#include <dt-bindings/input/linux-event-codes.h>
+ #include "mt7622.dtsi"
+ #include "mt7622-u-boot.dtsi"
+@@ -20,6 +21,7 @@
  
        aliases {
                spi0 = &snfi;
@@ -8,7 +16,7 @@
        };
  
        memory@40000000 {
-@@ -27,6 +28,42 @@
+@@ -27,6 +29,44 @@
                reg = <0x40000000 0x40000000>;
        };
  
 +              reset {
 +                      label = "reset";
 +                      gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
++                      linux,code = <KEY_RESTART>;
 +              };
 +
 +              wps {
 +                      label = "wps";
 +                      gpios = <&gpio 102 GPIO_ACTIVE_LOW>;
++                      linux,code = <KEY_WPS_BUTTON>;
 +              };
 +      };
 +
        reg_1p8v: regulator-1p8v {
                compatible = "regulator-fixed";
                regulator-name = "fixed-1.8V";
-@@ -197,7 +234,7 @@
+@@ -182,6 +222,7 @@
+ };
+ &uart0 {
++      mediatek,force-highspeed;
+       status = "okay";
+ };
+@@ -197,7 +238,7 @@
        status = "okay";
        bus-width = <8>;
        max-frequency = <50000000>;
@@ -60,7 +78,7 @@
        vmmc-supply = <&reg_3p3v>;
        vqmmc-supply = <&reg_3p3v>;
        non-removable;
-@@ -208,7 +245,7 @@
+@@ -208,7 +249,7 @@
        pinctrl-0 = <&mmc1_pins_default>;
        status = "okay";
        bus-width = <4>;