lantiq: TDW89x0 - increase spi frequency
Use the same max spi frequency as set in u-boot. According to the datasheets, the Q64-104HIP as well as the Winbond 25Q64FVSIG support spi frequencies up to 50 MHz. During my tests, the Q64-104HIP couldn't be recognized/initialized if the frequency was > 40MHz. Both chips do support fast read as well. While touching the dts file, I fixed the dtc compiler warnings. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 47994
This commit is contained in:
parent
3af2cf661b
commit
e33aa71045
1 changed files with 4 additions and 2 deletions
|
@ -16,12 +16,14 @@
|
||||||
interrupt-parent = <&icu0>;
|
interrupt-parent = <&icu0>;
|
||||||
interrupts = <22 23 24>;
|
interrupts = <22 23 24>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
m25p80@0 {
|
m25p80@0 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
reg = <3>;
|
reg = <3 0>;
|
||||||
spi-max-frequency = <20000000>;
|
spi-max-frequency = <33250000>;
|
||||||
|
m25p,fast-read;
|
||||||
|
|
||||||
partition@0 {
|
partition@0 {
|
||||||
reg = <0x0 0x20000>;
|
reg = <0x0 0x20000>;
|
||||||
|
|
Loading…
Reference in a new issue