[OpenWrt-Devel] [PATCH v6] ramips: add support for Asus RT-AC85P

Birger Koblitz mail at birger-koblitz.de
Sun Sep 15 10:14:35 EDT 2019



On 15.09.19 12:31, mail at adrianschmutzler.de wrote:
> Hi,
> 
> see additions to the newer-ending-story below.
Well, at least in fiction it made for an excellent book. Not sure in engineering never-ending stories are so great.



>> +&pcie0 {
>> +	wifi0: wifi at 0,0 {
>> +		compatible = "pci14c3,7615";
>> +		reg = <0x0000 0 0 0 0>;
>> +		mediatek,mtd-eeprom = <&factory 0x0000>;
>> +		ieee80211-freq-limit = <2400000 2500000>;
>> +		mtd-mac-address = <&factory 0x4>;
> 
> With mtd-eeprom reading from 0x0, the MAC address at 0x4 should be read by default. So, you should get the same result with the mtd-mac-address line removed.
Indeed, this works, I get the correct MAC address by default.

> 
>> +	};
>> +};
>> +
>> +&pcie1 {
>> +	wifi1: wifi at 0,0 {
>> +		compatible = "pci14c3,7615";
>> +		reg = <0x0000 0 0 0 0>;
>> +		mediatek,mtd-eeprom = <&factory 0x8000>;
>> +		ieee80211-freq-limit = <5000000 6000000>;
>> +		mtd-mac-address = <&factory 0x8004>;
> 
> See above: address is mtd-eeprom +4, so try to remove it.
Here as well.


>> +
>> +&i2c {
>> +    status = "disabled";
> 
> Indent is wrong here.
Oops.

> 
> Best
> 
> Adrian
> 

will send a v7.

Best,
  Birger


_______________________________________________
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