I have some divice this is a prototye. In device was used MCU MT7620a. On board I have 32 MB RAM, and 64MB SPI Flash. I whant to install OpenWRT on this device, but I have problem with correct driver to this SPI flash, because driver m25p80 usually uses in linux handle size only to 32MB. System recognize memory as MT25QL512AB. So Do You have any idea what driver I have must use to good cooperation memory and MCU ? I checked Table of Hardware available on site
http://wiki.openwrt.org/toh/start
In goal find something similar, but only I found is handle max to 32MB with m25p80. If I found some devices for example 64MB Flash or more, I can't use this idea using BuildRoot OpenWRT because all devices with 64MB Flash not has gives me information how to prepare Device Tree mt7620a.dts what concret driver is compatybile and etc.
Actualy device tree inode support flash size with 16MB it is look as below
palmbus@10000000 {
spi@b00 {
status = "okay";
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "en25q64";
reg = <0 0>;
linux,modalias = "m25p80", "en25q64";
spi-max-frequency = <10000000>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
As You see was used m25p80