[PATCH V2 3/5] arm64: dts: broadcom: bcm4908: describe Netgear R8000P switch

Rafał Miłecki zajec5 at gmail.com
Fri Feb 19 00:50:28 EST 2021


From: Rafał Miłecki <rafal at milecki.pl>

R8000P model has 4 LAN ports and 1 WAN port.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 .../bcm4908/bcm4906-netgear-r8000p.dts        | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
index bf0d534ace2e..af2616e82e83 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
@@ -43,6 +43,31 @@ &xhci {
 	status = "okay";
 };
 
+&ports {
+	port at 0 {
+		label = "lan4";
+	};
+
+	port at 1 {
+		label = "lan3";
+	};
+
+	port at 2 {
+		label = "lan2";
+	};
+
+	port at 3 {
+		label = "lan1";
+	};
+
+	port at 7 {
+		reg = <7>;
+		phy-mode = "internal";
+		phy-handle = <&phy12>;
+		label = "wan";
+	};
+};
+
 &nandcs {
 	nand-ecc-strength = <4>;
 	nand-ecc-step-size = <512>;
-- 
2.26.2




More information about the linux-arm-kernel mailing list