From 68c54dc34fdc58b65f346fdded8ca40f7f656f5e Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 12 Apr 2013 19:44:41 +0000
Subject: [PATCH] mpc85xx: use static SPI bus number for TL-WDR4900

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

SVN-Revision: 36329
---
 .../140-powerpc-85xx-tl-wdr4900-v1-support.patch            | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/target/linux/mpc85xx/patches-3.8/140-powerpc-85xx-tl-wdr4900-v1-support.patch b/target/linux/mpc85xx/patches-3.8/140-powerpc-85xx-tl-wdr4900-v1-support.patch
index cf82c40d05..a0836d8382 100644
--- a/target/linux/mpc85xx/patches-3.8/140-powerpc-85xx-tl-wdr4900-v1-support.patch
+++ b/target/linux/mpc85xx/patches-3.8/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,208 @@
+@@ -0,0 +1,212 @@
 +/*
 + * TP-Link TL-WDR4900 v1 Device Tree Source
 + *
@@ -235,6 +235,10 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 +*/
 +	};
 +
++	aliases {
++		spi0 = &spi0;
++	};
++
 +	memory {
 +		device_type = "memory";
 +	};
-- 
GitLab