Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
128 lines
1.9 KiB
Devicetree
128 lines
1.9 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||
/*
|
||
* Author: Arınç ÜNAL <arinc.unal@arinc9.com>
|
||
*/
|
||
|
||
/dts-v1/;
|
||
|
||
#include "bcm47094-asus-rt-ac3100.dtsi"
|
||
|
||
/ {
|
||
compatible = "asus,rt-ac88u", "brcm,bcm47094", "brcm,bcm4708";
|
||
model = "ASUS RT-AC88U";
|
||
|
||
nvram@1c080000 {
|
||
et1macaddr: et1macaddr {
|
||
#nvmem-cell-cells = <1>;
|
||
};
|
||
};
|
||
|
||
switch {
|
||
compatible = "realtek,rtl8365mb";
|
||
mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
|
||
mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
|
||
reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
|
||
realtek,disable-leds;
|
||
dsa,member = <1 0>;
|
||
|
||
mdio {
|
||
compatible = "realtek,smi-mdio";
|
||
#address-cells = <1>;
|
||
#size-cells = <0>;
|
||
|
||
ethphy0: ethernet-phy@0 {
|
||
reg = <0>;
|
||
};
|
||
|
||
ethphy1: ethernet-phy@1 {
|
||
reg = <1>;
|
||
};
|
||
|
||
ethphy2: ethernet-phy@2 {
|
||
reg = <2>;
|
||
};
|
||
|
||
ethphy3: ethernet-phy@3 {
|
||
reg = <3>;
|
||
};
|
||
};
|
||
|
||
ports {
|
||
#address-cells = <1>;
|
||
#size-cells = <0>;
|
||
|
||
port@0 {
|
||
reg = <0>;
|
||
label = "lan5";
|
||
phy-handle = <ðphy0>;
|
||
};
|
||
|
||
port@1 {
|
||
reg = <1>;
|
||
label = "lan6";
|
||
phy-handle = <ðphy1>;
|
||
};
|
||
|
||
port@2 {
|
||
reg = <2>;
|
||
label = "lan7";
|
||
phy-handle = <ðphy2>;
|
||
};
|
||
|
||
port@3 {
|
||
reg = <3>;
|
||
label = "lan8";
|
||
phy-handle = <ðphy3>;
|
||
};
|
||
|
||
port@6 {
|
||
reg = <6>;
|
||
label = "cpu";
|
||
ethernet = <&sw0_p5>;
|
||
phy-mode = "rgmii";
|
||
tx-internal-delay-ps = <2000>;
|
||
rx-internal-delay-ps = <2100>;
|
||
|
||
fixed-link {
|
||
speed = <1000>;
|
||
full-duplex;
|
||
pause;
|
||
};
|
||
};
|
||
};
|
||
};
|
||
};
|
||
|
||
&gmac0 {
|
||
status = "disabled";
|
||
};
|
||
|
||
&gmac1 {
|
||
nvmem-cells = <&et1macaddr 0>;
|
||
nvmem-cell-names = "mac-address";
|
||
};
|
||
|
||
&gmac2 {
|
||
nvmem-cells = <&et1macaddr 1>;
|
||
nvmem-cell-names = "mac-address";
|
||
};
|
||
|
||
&srab {
|
||
dsa,member = <0 0>;
|
||
|
||
ports {
|
||
sw0_p5: port@5 {
|
||
/delete-property/ethernet;
|
||
|
||
label = "extsw";
|
||
phy-mode = "rgmii";
|
||
|
||
fixed-link {
|
||
speed = <1000>;
|
||
full-duplex;
|
||
pause;
|
||
};
|
||
};
|
||
};
|
||
};
|