Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created March 16, 2021 05:21
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/e595092b4702ff581045fb85eb6d4a8e to your computer and use it in GitHub Desktop.
Save Grommish/e595092b4702ff581045fb85eb6d4a8e to your computer and use it in GitHub Desktop.
/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 {
ephy0: ethernet-phy@0 {
reg = <0>;
};
};
&switch0 {
ports {
port@5 {
reg = <5>;
label = "eth5";
phy-handle = <&ephy0>;
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