[openwrt/openwrt] mediatek: mt7622: linksys-e8450: set driving strength for SPI-NAND

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 20 09:32:51 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/a8f51096ddaf97e9e2b9a837368056099a593c41

commit a8f51096ddaf97e9e2b9a837368056099a593c41
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Mar 10 23:14:33 2024 +0000

    mediatek: mt7622: linksys-e8450: set driving strength for SPI-NAND
    
    Set 12mA driving strength for SPI-NAND pins like the stock firmware's
    bootloader does as well.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
    (cherry picked from commit 45a2109353fa18701b65aefe2323ec06391da543)
---
 target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
index abac02a72d..360a1711f9 100644
--- a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
+++ b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
@@ -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"
@@ -275,6 +276,11 @@
 			function = "flash";
 			groups = "snfi";
 		};
+
+		conf {
+			groups = "snfi";
+			drive-strength = <MTK_DRIVE_12mA>;
+		};
 	};
 
 	spic0_pins: spic0-pins {




More information about the lede-commits mailing list