;;
iodata,wn-ac1167gr|\
iodata,wn-ac733gr3)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary Factory 4)" -1)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 4)" -1)
;;
iodata,wn-ax1167gr|\
- iodata,wn-gx300gr)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary Factory 4)" 1)
+ iodata,wn-gx300gr|\
+ trendnet,tew-692gr)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 4)" 1)
;;
lenovo,newifi-d1)
lan_mac=$(macaddr_add "$(cat /sys/class/net/eth0/address)" 2)
trendnet,tew-691gr)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 4)" 3)
;;
- trendnet,tew-692gr)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 4)" 1)
- ;;
wiznet,wizfi630a)
lan_mac=$(mtd_get_mac_binary factory 4)
wan_mac=$(mtd_get_mac_binary factory 40)
;;
xiaomi,mir3g|\
xiaomi,mir3p)
- lan_mac=$(mtd_get_mac_binary Factory 0xe006)
+ lan_mac=$(mtd_get_mac_binary factory 0xe006)
;;
xiaomi,miwifi-mini)
wan_mac=$(cat /sys/class/net/eth0/address)
read-only;
};
- Factory: partition@40000 {
- label = "Factory";
+ factory: partition@40000 {
+ label = "factory";
reg = <0x40000 0x8000>;
read-only;
};
ðernet {
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
- mtd-mac-address = <&Factory 0x4>;
+ mtd-mac-address = <&factory 0x4>;
port@5 {
status = "okay";
};
&wmac {
- ralink,mtd-eeprom = <&Factory 0x0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
};
read-only;
};
- Factory: partition@40000 {
- label = "Factory";
+ factory: partition@40000 {
+ label = "factory";
reg = <0x40000 0x8000>;
read-only;
};
ðernet {
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins>;
- mtd-mac-address = <&Factory 0x4>;
+ mtd-mac-address = <&factory 0x4>;
port@5 {
status = "okay";
};
&wmac {
- ralink,mtd-eeprom = <&Factory 0x0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
};
read-only;
};
- Factory: partition@40000 {
- label = "Factory";
+ factory: partition@40000 {
+ label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&Factory 0x0>;
+ mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
read-only;
};
- Factory: partition@40000 {
- label = "Factory";
+ factory: partition@40000 {
+ label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
};
ðernet {
- mtd-mac-address = <&Factory 0x4>;
+ mtd-mac-address = <&factory 0x4>;
};
&pinctrl {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&Factory 0x0>;
+ mediatek,mtd-eeprom = <&factory 0x0>;
};
};
};
factory: partition@40000 {
- label = "Factory";
+ label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
};
factory: partition@100000 {
- label = "Factory";
+ label = "factory";
reg = <0x100000 0x40000>;
read-only;
};
};
factory: partition@c0000 {
- label = "Factory";
+ label = "factory";
reg = <0x0c0000 0x40000>;
read-only;
};
};
factory: partition@40000 {
- label = "Factory";
+ label = "factory";
reg = <0x40000 0x10000>;
read-only;
};