From c837cae29c8ada8314a75aa4bb1fa82c95a6ec11 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Thu, 21 Feb 2013 10:26:00 +0000
Subject: [PATCH] mpc85xx: disable a bunch of unused device nodes on the
 TL-WDR4900

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35707
---
 ...0-powerpc-85xx-tl-wdr4900-v1-support.patch | 34 ++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/target/linux/mpc85xx/patches-3.7/140-powerpc-85xx-tl-wdr4900-v1-support.patch b/target/linux/mpc85xx/patches-3.7/140-powerpc-85xx-tl-wdr4900-v1-support.patch
index 970988c16a..8e6d5ca46f 100644
--- a/target/linux/mpc85xx/patches-3.7/140-powerpc-85xx-tl-wdr4900-v1-support.patch
+++ b/target/linux/mpc85xx/patches-3.7/140-powerpc-85xx-tl-wdr4900-v1-support.patch
@@ -210,7 +210,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 +}
 --- /dev/null
 +++ b/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
-@@ -0,0 +1,166 @@
+@@ -0,0 +1,198 @@
 +/*
 + * TP-Link TL-WDR4900 v1 Device Tree Source
 + *
@@ -306,10 +306,42 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 +			};
 +		};
 +
++		mdio@25000 {
++			status = "disabled";
++		};
++
++		mdio@26000 {
++			status = "disabled";
++		};
++
 +		enet0: ethernet@b0000 {
 +			phy-handle = <&phy0>;
 +			phy-connection-type = "rgmii-id";
 +		};
++
++		enet1: ethernet@b1000 {
++			status = "disabled";
++		};
++
++		enet2: ethernet@b2000 {
++			status = "disabled";
++		};
++
++		sdhc@2e000 {
++			status = "disabled";
++		};
++
++		serial1: serial@4600 {
++			status = "disabled";
++		};
++
++		can0: can@1c000 {
++			status = "disabled";
++		};
++
++		can1: can@1d000 {
++			status = "disabled";
++		};
 +	};
 +
 +	pci0: pcie@ffe09000 {
-- 
GitLab