[source] mvebu: revert remove of mvsw61xx device tree nodes

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 13 00:04:10 PST 2016


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/5640986001ecaa673f7f97a40d0418f7e926da93

commit 5640986001ecaa673f7f97a40d0418f7e926da93
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Nov 13 08:57:56 2016 +0100

    mvebu: revert remove of mvsw61xx device tree nodes
    
    The marvell,88e6352 and marvell,88e6172 compatible strings are used in
    target/linux/generic/files/drivers/net/phy/mvsw61xx.c. No idea why grep
    missed them when I searched for them.
    
    Thanks to Syrone Wong for noticing and reporting my mistake.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 .../arch/arm/boot/dts/armada-385-linksys-rango.dts | 13 +++++++
 .../mvebu/patches-4.4/003-add_switch_nodes.patch   | 40 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
index eeb1799..0046125 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
@@ -408,6 +408,19 @@
 			label = "rango:white:sata";
 		};
 	};
+
+	mvsw61xx {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "marvell,88e6352";
+		status = "okay";
+		reg = <0x10>;
+
+		mii-bus = <&mdio>;
+		cpu-port-0 = <5>;
+		cpu-port-1 = <6>;
+	};
+
 };
 
 &pinctrl {
diff --git a/target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch b/target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch
new file mode 100644
index 0000000..1502b6b
--- /dev/null
+++ b/target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch
@@ -0,0 +1,40 @@
+--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
++++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+@@ -467,6 +467,16 @@
+ 			};
+ 		};
+ 	};
++
++	mvsw61xx {
++		compatible = "marvell,88e6172";
++		status = "okay";
++		reg = <0x10>;
++
++		mii-bus = <&mdio>;
++		cpu-port-0 = <5>;
++		cpu-port-1 = <6>;
++	};
+ };
+ 
+ &pinctrl {
+--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
++++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
+@@ -309,6 +309,18 @@
+ 			};
+ 		};
+ 	};
++
++	mvsw61xx {
++		#address-cells = <1>;
++		#size-cells = <0>;
++		compatible = "marvell,88e6176";
++		status = "okay";
++		reg = <0x10>;
++
++		mii-bus = <&mdio>;
++		cpu-port-0 = <5>;
++		cpu-port-1 = <6>;
++	};
+ };
+ 
+ &pinctrl {



More information about the lede-commits mailing list