mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 01:44:54 +00:00
60 lines
1.1 KiB
Diff
60 lines
1.1 KiB
Diff
|
From 64612828628cca6e3992e421f45c242dc6625647 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
||
|
Date: Mon, 20 Sep 2021 16:10:24 +0200
|
||
|
Subject: [PATCH] ARM: dts: BCM53573: Add Tenda AC9 switch ports
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
This router has 1 WAN and 4 LAN ports.
|
||
|
|
||
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
||
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
||
|
---
|
||
|
arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 37 ++++++++++++++++++++++++
|
||
|
1 file changed, 37 insertions(+)
|
||
|
|
||
|
--- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
|
||
|
@@ -105,3 +105,40 @@
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
+
|
||
|
+&switch {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ ports {
|
||
|
+ port@0 {
|
||
|
+ reg = <0>;
|
||
|
+ label = "wan";
|
||
|
+ };
|
||
|
+
|
||
|
+ port@1 {
|
||
|
+ reg = <1>;
|
||
|
+ label = "lan1";
|
||
|
+ };
|
||
|
+
|
||
|
+ port@2 {
|
||
|
+ reg = <2>;
|
||
|
+ label = "lan2";
|
||
|
+ };
|
||
|
+
|
||
|
+ port@3 {
|
||
|
+ reg = <3>;
|
||
|
+ label = "lan3";
|
||
|
+ };
|
||
|
+
|
||
|
+ port@4 {
|
||
|
+ reg = <4>;
|
||
|
+ label = "lan4";
|
||
|
+ };
|
||
|
+
|
||
|
+ port@5 {
|
||
|
+ reg = <5>;
|
||
|
+ label = "cpu";
|
||
|
+ ethernet = <&gmac0>;
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|