openwrt/target/linux/ramips
David Bentham d33f4f8565 ramips: reduce spi-max-frequency for Xiaomi MI Router 4AG
Reduce spi-max-frequency for Xiaomi MI Router 4AG model

Xiaomi MI Router 4AG MTD uses two flash chips (no specific on router versions when produced from factory) - GD25Q128C and W25Q128BV.

These flash chips are capable of high frequency, but due to poor board design or manufacture process.

We are seeing the following errors in the linux kernel bootup:

`spi-nor spi0.0: unrecognized JEDEC id bytes: cc 60 1c cc 60 1c
 spi-nor: probe of spi0.0 failed with error -2`

This causes the partitions not to be detected

`VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6`

Then creates a bootloop and a bricked router.

The solution to limit this race condition is to reduce the frequency from 80 mhz to 50 mhz.

Signed-off-by: David Bentham <db260179@gmail.com>
(cherry picked from commit 17e690017d)
2021-04-18 12:04:38 +02:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: reduce spi-max-frequency for Xiaomi MI Router 4AG 2021-04-18 12:04:38 +02:00
files/drivers ramips: drop kernel version switches 2020-10-09 22:24:04 +02:00
image ramips: Fix booting on MTC WR1201 2021-04-18 12:04:19 +02:00
mt76x8 ramips: add support for ELECOM WRC-1167FS 2021-02-11 16:37:53 +01:00
mt7620 ramips: correct switch config of Youku yk1 2021-04-02 16:04:00 +02:00
mt7621 ramips: mt7621: enable SX150x driver 2021-02-24 20:23:59 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.108 2021-03-27 16:26:56 +01:00
rt288x ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
rt305x ramips: remove generic profiles 2021-01-27 21:31:20 +01:00
rt3883 ramips: remove generic profiles 2021-01-27 21:31:20 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-15 10:32:53 -10:00