[PATCH 2/2] ARM: dts: BCM53573: Add Tenda AC9 switch ports
Rafał Miłecki
zajec5 at gmail.com
Mon Sep 20 07:10:24 PDT 2021
From: Rafał Miłecki <rafal at milecki.pl>
This router has 1 WAN and 4 LAN ports.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 37 ++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
index 049cdfd92706..07eb3a8287d6 100644
--- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
@@ -105,3 +105,40 @@ pcie0_chipcommon: chipcommon at 0 {
};
};
};
+
+&switch {
+ status = "okay";
+
+ ports {
+ port at 0 {
+ reg = <0>;
+ label = "wan";
+ };
+
+ port at 1 {
+ reg = <1>;
+ label = "lan1";
+ };
+
+ port at 2 {
+ reg = <2>;
+ label = "lan2";
+ };
+
+ port at 3 {
+ reg = <3>;
+ label = "lan3";
+ };
+
+ port at 4 {
+ reg = <4>;
+ label = "lan4";
+ };
+
+ port at 5 {
+ reg = <5>;
+ label = "cpu";
+ ethernet = <&gmac0>;
+ };
+ };
+};
--
2.26.2
More information about the linux-arm-kernel
mailing list