2022-03-30 21:21:32 +00:00
|
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
|
|
Subject: [PATCH] ARM: dts: BCM5301X: Specify switch ports for remaining
|
|
|
|
devices
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
---
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -92,3 +92,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -83,3 +83,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -149,3 +149,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -46,3 +46,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -43,3 +43,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -86,3 +86,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -77,3 +77,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -77,6 +77,40 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
2023-10-13 11:25:33 +00:00
|
|
|
+ port@5 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
2022-03-30 21:21:32 +00:00
|
|
|
+ port@7 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
&nandcs {
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
--- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -130,3 +130,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -104,3 +104,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -94,3 +94,41 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
2023-10-13 11:25:33 +00:00
|
|
|
+ port@5 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
2022-03-30 21:21:32 +00:00
|
|
|
+ port@8 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -38,6 +38,40 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
&nandcs {
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
--- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -91,6 +91,44 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
&spi_nor {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -100,6 +100,44 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
vcc-gpio = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
&spi_nor {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
2023-10-13 11:25:33 +00:00
|
|
|
@@ -107,3 +107,42 @@
|
2022-03-30 21:21:32 +00:00
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+&srab {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ports {
|
|
|
|
+ port@0 {
|
|
|
|
+ label = "lan1";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@1 {
|
|
|
|
+ label = "lan2";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@2 {
|
|
|
|
+ label = "lan3";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@3 {
|
|
|
|
+ label = "lan4";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@4 {
|
|
|
|
+ label = "wan";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@5 {
|
|
|
|
+ label = "cpu";
|
|
|
|
+ };
|
2023-10-13 11:25:33 +00:00
|
|
|
+
|
|
|
|
+ port@7 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
2022-03-30 21:21:32 +00:00
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|