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

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 11 12:14:46 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/45a2109353fa18701b65aefe2323ec06391da543

commit 45a2109353fa18701b65aefe2323ec06391da543
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>
---
 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 be216d972c..bd686073cb 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"
@@ -271,6 +272,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