[OpenWrt-Devel] [PATCH] ramips: add support for Ubiquiti UniFi nanoHD

Chuanhong Guo gch981213 at gmail.com
Tue Mar 10 01:20:49 EDT 2020


Hi!

On Mon, Mar 9, 2020 at 9:05 PM David Bauer <mail at david-bauer.net> wrote:
> >> +&spi0 {
> >> +    status = "okay";
> >> +
> >> +    flash at 0 {
> >> +            compatible = "mx25l25635f", "jedec,spi-nor";
> >> +            reg = <0>;
> >> +            spi-max-frequency = <10000000>;
> >
> > No higher speed possible?
>
> Last time I've checked, the SPI speed was still calculated based on an incorrect
> reference clock for MT7621, thus the frequency defined will not match the one
> configured to the hardware.
> Are you aware if this has already been fixed in Kernel 4.14?

This is fixed by the following commits:
ramips: fix cpu clock of mt7621 and add dt clk devices:
https://git.openwrt.org/c7ca224299
ramips: fix some clocks in mt7621.dtsi: https://git.openwrt.org/ed25e3ac02

-- 
Regards,
Chuanhong Guo

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list