mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 01:17:30 +01:00
ipq40xx: split orbi devices in router and satellite
Netgear Orbi devices are split into router and satellite units. Even though the hardware is mostly the same, the network configuration is different. Router units have a designated WAN port while satellite units have all available ports labeled as "Ethernet". This splits the device trees into both unit types and adjusts the port labels. Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20877 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
4e688db5a8
commit
314dbb7fec
10 changed files with 65 additions and 37 deletions
|
|
@ -70,14 +70,14 @@ ipq40xx_setup_interfaces()
|
|||
buffalo,wtr-m2133hp|\
|
||||
ezviz,cs-w3-wd1200g-eup|\
|
||||
netgear,rbr40|\
|
||||
netgear,rbs40|\
|
||||
netgear,rbr50|\
|
||||
netgear,rbs50|\
|
||||
netgear,srr60|\
|
||||
netgear,srs60)
|
||||
netgear,srr60)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
|
||||
;;
|
||||
avm,fritzbox-7530)
|
||||
avm,fritzbox-7530|\
|
||||
netgear,rbs40|\
|
||||
netgear,rbs50|\
|
||||
netgear,srs60)
|
||||
ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
|
||||
;;
|
||||
avm,fritzrepeater-3000|\
|
||||
|
|
@ -245,9 +245,7 @@ ipq40xx_setup_macs()
|
|||
label_mac="$lan_mac"
|
||||
;;
|
||||
netgear,rbr50|\
|
||||
netgear,rbs50|\
|
||||
netgear,srr60|\
|
||||
netgear,srs60|\
|
||||
pakedge,wr-1)
|
||||
wan_mac=$(macaddr_add $(get_mac_label) 1)
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
|
||||
&swport1 {
|
||||
status = "okay";
|
||||
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
&swport2 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
&swport3 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
&swport4 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan3";
|
||||
};
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
|
||||
&swport1 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
&swport2 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
&swport3 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
&swport4 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan4";
|
||||
};
|
||||
|
|
@ -278,30 +278,6 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&swport1 {
|
||||
status = "okay";
|
||||
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
&swport2 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
&swport3 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
&swport4 {
|
||||
status = "okay";
|
||||
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
ðphy4 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
#include "qcom-ipq4019-orbi-router.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NETGEAR RBR40";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
#include "qcom-ipq4019-orbi-router.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NETGEAR RBR50";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
#include "qcom-ipq4019-orbi-satellite.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NETGEAR RBS40";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
#include "qcom-ipq4019-orbi-satellite.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NETGEAR RBS50";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
#include "qcom-ipq4019-orbi-router.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NETGEAR SRR60";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qcom-ipq4019-orbi.dtsi"
|
||||
#include "qcom-ipq4019-orbi-satellite.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NETGEAR SRS60";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue