mediatek: add an upstreamed spi-nand driver
[openwrt/openwrt.git] / target / linux / mediatek / patches-5.15 / 331-mt7622-rfb1-enable-bmt.patch
index 03c0771bcf5211bfdb245b5549c9e16ddd5ee69f..9c1a8f284abcd9e7edb9e4df5eba003bfcd72797 100644 (file)
@@ -1,11 +1,10 @@
 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
 +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
-@@ -545,6 +545,8 @@
-       pinctrl-0 = <&serial_nand_pins>;
-       status = "okay";
+@@ -553,6 +553,7 @@
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
+               nand-ecc-engine = <&snfi>;
++              mediatek,bmt-v2;
  
-+      mediatek,bmt-v2;
-+
-       partitions {
-               compatible = "fixed-partitions";
-               #address-cells = <1>;
+               partitions {
+                       compatible = "fixed-partitions";