Skip to content

Instantly share code, notes, and snippets.

@Grommish
Last active March 14, 2021 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/79f4b81327ca5ef46534ee4cf518e3b4 to your computer and use it in GitHub Desktop.
Save Grommish/79f4b81327ca5ef46534ee4cf518e3b4 to your computer and use it in GitHub Desktop.
[ 8.734913] rtl8367b rtl8367rb: using MDIO bus 'mdio'
[ 8.745977] rtl8367b rtl8367rb: unknown chip num:0000 ver:0000, mode:0000
[ 8.759588] rtl8367b rtl8367rb: chip detection failed, err=-19
[ 8.771329] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 8.862048] libphy: dsa slave smi: probed
[ 8.870512] mt7530 mdio-bus:1f eth0 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[ 8.890761] mt7530 mdio-bus:1f eth1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[ 8.911009] mt7530 mdio-bus:1f eth2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[ 8.931317] mt7530 mdio-bus:1f eth3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[ 8.951563] mt7530 mdio-bus:1f eth4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] (irq=POLL)
[ 8.971790] mt7530 mdio-bus:1f eth5 (uninitialized): validation of rgmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22
[ 9.001832] mt7530 mdio-bus:1f eth5 (uninitialized): error -22 setting up PHY for tree 0, switch 0, port 5
[ 9.021719] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 9.039803] DSA: tree 0 setup
[ 9.047152] UBI: auto-attach mtd5
[ 9.053827] ubi0: attaching mtd5
[ 9.060575] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
/dts-v1/;
#include "mt7621_ubnt_edgerouter-x.dtsi"
/ {
model = "Ubiquiti EdgeRouter 10X";
compatible = "ubnt,edgerouter-10x", "mediatek,mt7621-soc";
rtl8367rb {
compatible = "realtek,rtl8367b", "rtl8367b";
cpu_port = <6>;
realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
mii-bus = <&mdio>;
};
};
&nand {
partitions {
partition@740000 {
reg = <0x740000 0x1f4c0000>;
};
};
};
&mdio {
ephy29: ethernet-phy@29 {
reg = <29>;
};
};
&switch0 {
ports {
port@5 {
reg = <5>;
label = "eth5";
phy-handle = <&ephy29>;
phy-mode = "rgmii";
mtd-mac-address = <&factory 0x22>;
mtd-mac-address-increment = <5>;
};
};
};
&xhci {
status = "okay";
};
&sdhci {
status = "okay";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment