aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-6p.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-6p.dts')
-rw-r--r--target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-6p.dts60
1 files changed, 60 insertions, 0 deletions
diff --git a/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-6p.dts b/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-6p.dts
new file mode 100644
index 0000000000..7d31885928
--- /dev/null
+++ b/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-6p.dts
@@ -0,0 +1,60 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "cn7130_ubnt_edgerouter-e300.dtsi"
+
+/ {
+ compatible = "ubnt,edgerouter-6p", "cavium,cn7130";
+ model = "Ubiquiti EdgeRouter 6P";
+};
+
+&smi0 {
+ phy8: ethernet-phy@8 {
+ device_type = "ethernet-phy";
+ interrupts = <17 8>;
+ interrupt-parent = <&gpio>;
+ compatible = "vitesse,vsc8514", "ethernet-phy-ieee802.3-c22";
+ reg = <8>;
+ };
+
+ phy9: ethernet-phy@9 {
+ device_type = "ethernet-phy";
+ interrupts = <17 8>;
+ interrupt-parent = <&gpio>;
+ compatible = "vitesse,vsc8514", "ethernet-phy-ieee802.3-c22";
+ reg = <9>;
+ };
+};
+
+&pip {
+ interface@0 {
+ ethernet@0 {
+ label = "lan5";
+ status = "okay";
+ phy-mode = "sgmii";
+ phy-handle = <&phy4>;
+ mtd-mac-address = <&eeprom 0>;
+ };
+ };
+
+ interface@1 {
+ status = "okay";
+
+ ethernet@0 {
+ label = "lan3";
+ status = "okay";
+ phy-mode = "sgmii";
+ phy-handle = <&phy8>;
+ mtd-mac-address = <&eeprom 0>;
+ mtd-mac-address-increment = <(4)>;
+ };
+
+ ethernet@1 {
+ label = "lan4";
+ status = "okay";
+ phy-mode = "sgmii";
+ phy-handle = <&phy9>;
+ mtd-mac-address = <&eeprom 0>;
+ mtd-mac-address-increment = <(5)>;
+ };
+ };
+};