qualcommax: Fix Buffalo WXR-5950AX12 Ethernet DTS
authorSamir Ibradžić <sibradzic@gmail.com>
Sun, 17 Dec 2023 07:58:06 +0000 (16:58 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 25 Dec 2023 18:14:26 +0000 (19:14 +0100)
* Revert the switch_lan_bmp and switch_wan_bmp to match the values from
  the original device support DTS
* Add specific malibu_first_phy_addr, as it differs from default for
  this device

Fixes: #14234
Reviewed-by: Robert Marko <robimarko@gmail.com>
Tested-by: Samir Ibradžić <sibradzic@gmail.com> # Buffalo WXR-6000AX12P
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-wxr-5950ax12.dts

index 18386c766c3620d61a01135868d08c17d97abad1..325a391ca0605eaeb03060508ba32c08a17b734a 100644 (file)
 &switch {
        status = "okay";
 
-       switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4 | ESS_PORT6)>;
-       switch_wan_bmp = <ESS_PORT5>;
+       switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4 | ESS_PORT5)>;
+       switch_wan_bmp = <ESS_PORT6>;
+       malibu_first_phy_addr = <0x18>;
        switch_mac_mode = <MAC_MODE_QSGMII>;
        switch_mac_mode1 = <MAC_MODE_USXGMII>;
        switch_mac_mode2 = <MAC_MODE_USXGMII>;