aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-01 08:21:59 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-14 12:05:17 +0100
commit28dcb74de3a15fbdb0fd9afa16457b2de1181cd7 (patch)
tree80d2ecf31f784a814e0df5e6b906616d0f339f9a /target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
parentbf4aa0c6a2f57951f995b2ac6f394c45ac852b9d (diff)
downloadupstream-28dcb74de3a15fbdb0fd9afa16457b2de1181cd7.tar.gz
upstream-28dcb74de3a15fbdb0fd9afa16457b2de1181cd7.tar.bz2
upstream-28dcb74de3a15fbdb0fd9afa16457b2de1181cd7.zip
bmips: add experimental ethernet support
This adds experimental ethernet support for BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268. BCM6358 needs a different driver, so there's no support for now. Working devices: - Comtrend AR-5315u - Comtrend AR-5387un - Comtrend VR-3025u - Comtrend VR-3032u Not working devices: - Netgear DGND3700 v2 (no idea on how the external switch is connected) - Huawei HG556a ver B (BCM6358 needs a separate driveer) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts')
-rw-r--r--target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
index 683b01875e..b597a05f3a 100644
--- a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
+++ b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts
@@ -59,6 +59,12 @@
status = "okay";
};
+&ethernet {
+ status = "okay";
+
+ mtd-mac-address = <&cfe 0x6a0>;
+};
+
&ohci {
status = "okay";
};
@@ -96,6 +102,38 @@
&pinctrl_ephy2_led &pinctrl_ephy3_led>;
};
+&switch0 {
+ ports {
+ port@0 {
+ reg = <0>;
+ label = "lan1";
+
+ phy-handle = <&phy1>;
+ };
+
+ port@1 {
+ reg = <1>;
+ label = "lan2";
+
+ phy-handle = <&phy2>;
+ };
+
+ port@2 {
+ reg = <2>;
+ label = "lan3";
+
+ phy-handle = <&phy3>;
+ };
+
+ port@3 {
+ reg = <3>;
+ label = "lan4";
+
+ phy-handle = <&phy4>;
+ };
+ };
+};
+
&uart0 {
status = "okay";
};