]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: drop spi cal for Keenetic KN-(3711/3811/3911)
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Thu, 22 Jan 2026 08:04:44 +0000 (11:04 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Jan 2026 19:59:40 +0000 (20:59 +0100)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21635
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts
target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts
target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts

index be0ca5901c2a63dc713c9fd545f0d5495b186717..1525cd2d1944aae633e91557d550899dc1a320d8 100644 (file)
                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>;
index 27e196a2dd2c9f770152bcf76fa43d4f8e4b17b1..5138175a063abccdab21456f41a3d5c550d130be 100644 (file)
                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>;
index 284a7d39cedc7d8ba1d8a4fb0b2cb748af9802a3..1dcb3a12e4157347e9270565a0b1f914f9f686b6 100644 (file)
                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>;