aboutsummaryrefslogtreecommitdiff
path: root/pkgs/patches-linux-5.15/310-linksys-use-eth0-as-cpu-port.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/patches-linux-5.15/310-linksys-use-eth0-as-cpu-port.patch')
-rw-r--r--pkgs/patches-linux-5.15/310-linksys-use-eth0-as-cpu-port.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/patches-linux-5.15/310-linksys-use-eth0-as-cpu-port.patch b/pkgs/patches-linux-5.15/310-linksys-use-eth0-as-cpu-port.patch
new file mode 100644
index 0000000..84d49a0
--- /dev/null
+++ b/pkgs/patches-linux-5.15/310-linksys-use-eth0-as-cpu-port.patch
@@ -0,0 +1,25 @@
+--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
++++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
+@@ -116,7 +116,7 @@
+ };
+
+ &eth2 {
+- status = "okay";
++ status = "disabled";
+ phy-mode = "sgmii";
+ buffer-manager = <&bm>;
+ bm,pool-long = <2>;
+@@ -200,10 +200,10 @@
+ label = "wan";
+ };
+
+- port@5 {
+- reg = <5>;
++ port@6 {
++ reg = <6>;
+ label = "cpu";
+- ethernet = <&eth2>;
++ ethernet = <&eth0>;
+
+ fixed-link {
+ speed = <1000>;