Changeset 47994


Ignore:
Timestamp:
2015-12-23T19:24:56+01:00 (2 years ago)
Author:
blogic
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/dts/TDW89X0.dtsi

    r47969 r47994  
    1717                        interrupts = <22 23 24>; 
    1818                        #address-cells = <1>; 
     19                        #size-cells = <1>; 
    1920                        m25p80@0 { 
    2021                                #address-cells = <1>; 
    2122                                #size-cells = <1>; 
    2223                                compatible = "jedec,spi-nor"; 
    23                                 reg = <3>; 
    24                                 spi-max-frequency = <20000000>; 
     24                                reg = <3 0>; 
     25                                spi-max-frequency = <33250000>; 
     26                                m25p,fast-read; 
    2527 
    2628                                partition@0 { 
Note: See TracChangeset for help on using the changeset viewer.