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>
Wed, 20 Mar 2024 16:32:25 +0000 (16:32 +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>
(cherry picked from commit 45a2109353fa18701b65aefe2323ec06391da543)

target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi

index abac02a72d022ea99218fac7f02c68abc1de345e..360a1711f96df91aead70a46b783f4e74d2393f1 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 {