From bfa1f18bfbe0113eccff80161b98b93f5a91c26c Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Mon, 5 Jan 2015 15:02:18 +0000
Subject: enable swconfig and the mvsw6171 driver

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43854
---
 .../mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts     | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

(limited to 'target/linux/mvebu/files/arch/arm/boot/dts')

diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
index d2d19ecc72..08af15cb26 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
@@ -116,10 +116,6 @@
 				status = "okay";
 			};
 
-			mdio {
-				status = "disabled";
-			};
-
 			ethernet@70000 {
 				pinctrl-0 = <&pmx_ge0>;
 				pinctrl-names = "default";
@@ -279,4 +275,15 @@
 		gpio-fan,speed-map = <0    0
 				      4500 1>;
 	};
+
+	mvsw6172 {
+		compatible = "marvell,88e6171";
+		status = "okay";
+		reg = <0x10>;
+
+		mii-bus = <&mdio>;
+		cpu-port-0 = <5>;
+		cpu-port-1 = <6>;
+	};
+
 };
-- 
cgit v1.2.3