aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>2016-06-24 17:00:29 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-24 17:00:29 +0200
commit64de7165e5bce0d6f811795bc5a0a81165eb58ca (patch)
treec2289c4ff0eededdf2f5089f9610f77ad2eaf811 /target
parentf80f38757623a1edee2c9c4975d268b38aaa5fba (diff)
downloadmaster-187ad058-64de7165e5bce0d6f811795bc5a0a81165eb58ca.tar.gz
master-187ad058-64de7165e5bce0d6f811795bc5a0a81165eb58ca.tar.bz2
master-187ad058-64de7165e5bce0d6f811795bc5a0a81165eb58ca.zip
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')
-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 569fa9f11c..bc50e4ae65 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";