summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>2016-06-09 02:12:03 -0700
committerJohn Crispin <john@phrozen.org>2016-06-22 19:32:06 +0200
commit34fdfbf328cbc499d3b29cf0914eeef024bbc308 (patch)
tree82fe60064b005ccad7851615cd50275e51fa863f /target/linux
parentf054e82bdc689cf262baeaac6d8dc913b0bccb55 (diff)
downloadmtk-20170518-34fdfbf328cbc499d3b29cf0914eeef024bbc308.zip
mtk-20170518-34fdfbf328cbc499d3b29cf0914eeef024bbc308.tar.gz
mtk-20170518-34fdfbf328cbc499d3b29cf0914eeef024bbc308.tar.bz2
lantiq: Slow down SPI flash on the DGN3500
The bootloader uses 30 MHz as the SPI frequency for flash on the Germany and North America models, and 50 MHz for it on the worldwide model, but the Lantiq SPI driver in OpenWrt and LEDE may access the flash differently such that writes are capped at 20 MHz, leading to read errors reported on the worldwide model at 30 MHz. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Acked-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/dts/DGN3500.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index 569fa9f..bc50e4a 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/target/linux/lantiq/dts/DGN3500.dtsi
@@ -168,7 +168,7 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <4 0>;
- spi-max-frequency = <30000000>;
+ spi-max-frequency = <20000000>;
partitions {
compatible = "fixed-partitions";