aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi35
1 files changed, 33 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
index 1efc930d49..6fed4a0b7b 100644
--- a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
+++ b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
@@ -5,7 +5,7 @@
/ {
aliases {
- label-mac-device = &ethernet;
+ label-mac-device = &gmac0;
};
chosen {
@@ -23,10 +23,41 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0x22>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0x22>;
+ mtd-mac-address-increment = <1>;
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan4";
+ };
+ };
+};
+
&nand {
status = "okay";