ramips: reduce spi-max-frequency for ipTIME A8004T
authorSunguk Lee <d3m3vilurr@gmail.com>
Thu, 2 Jul 2020 09:32:43 +0000 (18:32 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 6 Jul 2020 14:25:32 +0000 (16:25 +0200)
commit2d378703f13f51da89edc4b24c0bb51f415dc88f
treef67732e42b48367750a01ac4ddb7dddfa6612259
parent883250014daad1f1cc802ca1c23bb8f0eded9489
ramips: reduce spi-max-frequency for ipTIME A8004T

Reduce spi-max-frequency for ipTIME A8004T and disable
m25p,fast-read option.

A8004T uses `en25qh128` for the MTD.
This flash memory would allow 80MHz, sometimes kernel received
wrong id value in initramfs installed router.
(kernel expected `1c 70 18 1c 70 18`, but one of cases, it
was `9c 70 18 1c 70 18`)

In this case, openwrt can't detect the partition information,
it would write the inccorect data to the firmware partition and
also it would occur the bootlooping after sysupgrade.

Signed-off-by: Sunguk Lee <d3m3vilurr@gmail.com>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_iptime_a8004t.dts