// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) #include "../../../arm64/boot/dts/qcom/Fritz_Box_HW298-fiber.dts" #include "Fritz_Box_HW298-1.dtsi" /* Re-enable QCA838X Bypass Mode */ &ppe_switch { switch_mac_mode1 = <0xf>; switch_lan_bmp = <0x3E>; /* lan port bitmap */ qcom,port_phyinfo { /delete-node/ port@1; port@1 { port_id = <2>; phy_address = <4>; }; }; }; &mht_switch { switch_mac_mode1 = <0xff>; switch_lan_bmp = <0xe>; /* lan port bitmap */ }; /* SGMIIs are switched -- Fiber is on SGMII 1 */ &fiber_port { qcom,id = <1>; reg = <0x3a500000 0x4000>; devname = "wanmodem"; }; /* SGMIIs are switched -- MHT-BP-Port is on SGMII 2 */ &avm_mac_addr_maceth_0 { status = "ok"; devname = "eth0"; /* For easier Bringup use eth0 instead of wan */ }; /* Fiber is on SGMII 1, so disable all MHT Switch port normally hanging there */ &mht_switch_port { status = "disabled"; }; &avm_mac_addr_maceth_4 { status = "disabled"; }; &avm_mac_addr_maceth_3 { status = "disabled"; }; &avm_mac_addr_maceth_2 { status = "disabled"; }; &avm_mac_addr_maceth_1 { status = "disabled"; };