ipq807x: fixup yuncore fap650 support

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-02-23 09:20:32 +01:00
parent 678c4db8f0
commit 9348c426e5
3 changed files with 11 additions and 5 deletions

View File

@@ -143,6 +143,10 @@ qcom_setup_macs()
wan_mac=$(cat /sys/class/net/eth1/address)
lan_mac=$(macaddr_add "$wan_mac" 1)
;;
yuncore,fap650)
wan_mac=$(cat /sys/class/net/eth4/address)
lan_mac=$(macaddr_add "$wan_mac" 1)
;;
muxi,ap3220l)
wan_mac=$(mtd_get_mac_binary 0:Product_Info 0x5b)
lan_mac=$(macaddr_add "$wan_mac" 1)

View File

@@ -113,6 +113,7 @@ platform_check_image() {
tplink,ex227|\
tplink,ex447|\
yuncore,ax840|\
yuncore,fap650|\
motorola,q14|\
muxi,ap3220l|\
qcom,ipq6018-cp01|\
@@ -158,6 +159,7 @@ platform_do_upgrade() {
wallys,dr6018|\
wallys,dr6018-v4|\
yuncore,ax840|\
yuncore,fap650|\
tplink,ex447|\
tplink,ex227|\
meshpp,s618-cp03|\

View File

@@ -25,7 +25,7 @@
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP03-C1";
model = "Yuncore FAP650";
compatible = "yuncore,fap650", "qcom,ipq6018-cp03", "qcom,ipq6018";
interrupt-parent = <&intc>;
qcom,msm-id = <0x1A5 0x0>;
@@ -35,11 +35,11 @@
* Aliases as required by u-boot
* to patch MAC addresses
*/
ethernet0 = "/soc/dp1";
ethernet1 = "/soc/dp2";
ethernet0 = "/soc/dp5";
ethernet1 = "/soc/dp4";
ethernet2 = "/soc/dp3";
ethernet3 = "/soc/dp4";
ethernet4 = "/soc/dp5";
ethernet3 = "/soc/dp2";
ethernet4 = "/soc/dp1";
led-boot = &led_power;
led-failsafe = &led_power;