[openwrt/openwrt] mediatek: drop spi cal for Keenetic KN-(3711/3811/3911)

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 24 12:00:50 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/299105441a55cf12574d1e7ea04c02ddb4f22367

commit 299105441a55cf12574d1e7ea04c02ddb4f22367
Author: Maxim Anisimov <maxim.anisimov.ua at gmail.com>
AuthorDate: Thu Jan 22 11:04:44 2026 +0300

    mediatek: drop spi cal for Keenetic KN-(3711/3811/3911)
    
    In the original DTS from the device firmware, there are
    no entries that enable SPI calibration. Therefore, it
    should be disabled.
    
    Signed-off-by: Maxim Anisimov <maxim.anisimov.ua at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/21635
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts | 7 -------
 target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts | 7 -------
 target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts | 7 -------
 3 files changed, 21 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts b/target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts
index be0ca5901c..1525cd2d19 100644
--- a/target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts
+++ b/target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts
@@ -209,13 +209,6 @@
 		spi-tx-buswidth = <4>;
 		spi-rx-buswidth = <4>;
 
-		spi-cal-enable;
-		spi-cal-mode = "read-data";
-		spi-cal-datalen = <7>;
-		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4e 0x41 0x4e 0x44>;
-		spi-cal-addrlen = <5>;
-		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
-
 		mediatek,nmbm;
 		mediatek,bmt-max-ratio = <1>;
 		mediatek,bmt-max-reserved-blocks = <64>;
diff --git a/target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts b/target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts
index 27e196a2dd..5138175a06 100644
--- a/target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts
+++ b/target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts
@@ -225,13 +225,6 @@
 		spi-tx-buswidth = <4>;
 		spi-rx-buswidth = <4>;
 
-		spi-cal-enable;
-		spi-cal-mode = "read-data";
-		spi-cal-datalen = <7>;
-		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4e 0x41 0x4e 0x44>;
-		spi-cal-addrlen = <5>;
-		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
-
 		mediatek,nmbm;
 		mediatek,bmt-max-ratio = <1>;
 		mediatek,bmt-max-reserved-blocks = <64>;
diff --git a/target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts b/target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts
index 284a7d39ce..1dcb3a12e4 100644
--- a/target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts
+++ b/target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts
@@ -172,13 +172,6 @@
 		spi-tx-buswidth = <4>;
 		spi-rx-buswidth = <4>;
 
-		spi-cal-enable;
-		spi-cal-mode = "read-data";
-		spi-cal-datalen = <7>;
-		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4e 0x41 0x4e 0x44>;
-		spi-cal-addrlen = <5>;
-		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
-
 		mediatek,nmbm;
 		mediatek,bmt-max-ratio = <1>;
 		mediatek,bmt-max-reserved-blocks = <64>;




More information about the lede-commits mailing list