mediatek: mt7622: linksys-e8450: set driving strength for SPI-NAND
authorDaniel Golle <daniel@makrotopia.org>
Sun, 10 Mar 2024 23:14:33 +0000 (23:14 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 11 Mar 2024 19:14:14 +0000 (19:14 +0000)
Set 12mA driving strength for SPI-NAND pins like the stock firmware's
bootloader does as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi

index be216d972cfa57f7ccb1f820d96d9efd7a067d06..bd686073cbceeed17b20ae883c097bb96998b18d 100644 (file)
@@ -1,8 +1,9 @@
 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
 
 /dts-v1/;
-#include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/mt65xx.h>
 
 #include "mt7622.dtsi"
 #include "mt6380.dtsi"
                        function = "flash";
                        groups = "snfi";
                };
+
+               conf {
+                       groups = "snfi";
+                       drive-strength = <MTK_DRIVE_12mA>;
+               };
        };
 
        spic0_pins: spic0-pins {