2019-01-29 22:52:27 +00:00
|
|
|
From 53bc6ae5da3b2902581c30ac2568f51ce35e7624 Mon Sep 17 00:00:00 2001
|
2018-10-05 23:46:22 +00:00
|
|
|
From: Gabor Juhos <juhosg@openwrt.org>
|
|
|
|
Date: Wed, 20 Feb 2013 08:40:33 +0100
|
|
|
|
Subject: [PATCH] powerpc: 85xx: add support for the TP-Link TL-WDR4900 v1
|
|
|
|
board
|
|
|
|
|
|
|
|
This patch adds support for the TP-Link TL-WDR4900 v1
|
|
|
|
concurrent dual-band wireless router. The devices uses
|
|
|
|
the Freescale P1014 SoC.
|
|
|
|
|
|
|
|
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
2019-01-29 22:52:27 +00:00
|
|
|
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
|
2018-10-05 23:46:22 +00:00
|
|
|
---
|
2019-01-29 22:52:27 +00:00
|
|
|
arch/powerpc/boot/Makefile | 3 ++-
|
|
|
|
arch/powerpc/boot/wrapper | 5 +++++
|
|
|
|
arch/powerpc/platforms/85xx/Kconfig | 11 +++++++++++
|
|
|
|
arch/powerpc/platforms/85xx/Makefile | 1 +
|
|
|
|
4 files changed, 19 insertions(+), 1 deletion(-)
|
2018-10-05 23:46:22 +00:00
|
|
|
|
2019-01-29 22:52:27 +00:00
|
|
|
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
|
|
|
|
index e2a5a932c24a..925140f8350b 100644
|
2018-10-05 23:46:22 +00:00
|
|
|
--- a/arch/powerpc/boot/Makefile
|
|
|
|
+++ b/arch/powerpc/boot/Makefile
|
2019-01-29 22:52:27 +00:00
|
|
|
@@ -156,6 +156,7 @@ src-plat-$(CONFIG_PPC_PSERIES) += pseries-head.S
|
2018-10-05 23:46:22 +00:00
|
|
|
src-plat-$(CONFIG_PPC_POWERNV) += pseries-head.S
|
|
|
|
src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S
|
|
|
|
src-plat-$(CONFIG_MVME7100) += motload-head.S mvme7100.c
|
2019-01-29 22:52:27 +00:00
|
|
|
+src-plat-$(CONFIG_TL_WDR4900_V1) += simpleboot.c fixed-head.S
|
2018-10-15 09:19:43 +00:00
|
|
|
|
2018-10-05 23:46:22 +00:00
|
|
|
src-wlib := $(sort $(src-wlib-y))
|
|
|
|
src-plat := $(sort $(src-plat-y))
|
2019-01-29 22:52:27 +00:00
|
|
|
@@ -335,7 +336,7 @@ image-$(CONFIG_TQM8555) += cuImage.tqm8555
|
2018-10-05 23:46:22 +00:00
|
|
|
image-$(CONFIG_TQM8560) += cuImage.tqm8560
|
|
|
|
image-$(CONFIG_SBC8548) += cuImage.sbc8548
|
|
|
|
image-$(CONFIG_KSI8560) += cuImage.ksi8560
|
|
|
|
-
|
2019-01-29 22:52:27 +00:00
|
|
|
+image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1
|
2018-10-05 23:46:22 +00:00
|
|
|
# Board ports in arch/powerpc/platform/86xx/Kconfig
|
|
|
|
image-$(CONFIG_MVME7100) += dtbImage.mvme7100
|
2018-10-15 09:19:43 +00:00
|
|
|
|
2019-01-29 22:52:27 +00:00
|
|
|
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
|
|
|
|
index 76fe3ccfd381..96fd853a1ed0 100755
|
2018-10-05 23:46:22 +00:00
|
|
|
--- a/arch/powerpc/boot/wrapper
|
|
|
|
+++ b/arch/powerpc/boot/wrapper
|
2019-01-29 22:52:27 +00:00
|
|
|
@@ -302,6 +302,11 @@ adder875-redboot)
|
|
|
|
platformo="$object/fixed-head.o $object/redboot-8xx.o"
|
|
|
|
binary=y
|
|
|
|
;;
|
|
|
|
+simpleboot-tl-wdr4900-v1)
|
|
|
|
+ platformo="$object/fixed-head.o $object/simpleboot.o"
|
2018-10-05 23:46:22 +00:00
|
|
|
+ link_address='0x1000000'
|
2019-01-29 22:52:27 +00:00
|
|
|
+ binary=y
|
|
|
|
+ ;;
|
|
|
|
simpleboot-virtex405-*)
|
|
|
|
platformo="$object/virtex405-head.o $object/simpleboot.o $object/virtex.o"
|
|
|
|
binary=y
|
|
|
|
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
|
|
|
|
index 68920d42b4bc..477782740f0e 100644
|
2018-10-05 23:46:22 +00:00
|
|
|
--- a/arch/powerpc/platforms/85xx/Kconfig
|
|
|
|
+++ b/arch/powerpc/platforms/85xx/Kconfig
|
|
|
|
@@ -170,6 +170,17 @@ config STX_GP3
|
2018-10-15 09:19:43 +00:00
|
|
|
select CPM2
|
|
|
|
select DEFAULT_UIMAGE
|
|
|
|
|
2018-10-05 23:46:22 +00:00
|
|
|
+config TL_WDR4900_V1
|
|
|
|
+ bool "TP-Link TL-WDR4900 v1"
|
|
|
|
+ select DEFAULT_UIMAGE
|
|
|
|
+ select ARCH_REQUIRE_GPIOLIB
|
|
|
|
+ select GPIO_MPC8XXX
|
|
|
|
+ help
|
|
|
|
+ This option enables support for the TP-Link TL-WDR4900 v1 board.
|
|
|
|
+
|
|
|
|
+ This board is a Concurrent Dual-Band wireless router with a
|
|
|
|
+ Freescale P1014 SoC.
|
|
|
|
+
|
|
|
|
config TQM8540
|
2018-10-15 09:19:43 +00:00
|
|
|
bool "TQ Components TQM8540"
|
|
|
|
help
|
2019-01-29 22:52:27 +00:00
|
|
|
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile
|
|
|
|
index d1dd0dca5ebf..d0dab29a33eb 100644
|
2018-10-05 23:46:22 +00:00
|
|
|
--- a/arch/powerpc/platforms/85xx/Makefile
|
|
|
|
+++ b/arch/powerpc/platforms/85xx/Makefile
|
2019-01-29 22:52:27 +00:00
|
|
|
@@ -26,6 +26,7 @@ obj-$(CONFIG_CORENET_GENERIC) += corenet_generic.o
|
2018-10-05 23:46:22 +00:00
|
|
|
obj-$(CONFIG_FB_FSL_DIU) += t1042rdb_diu.o
|
|
|
|
obj-$(CONFIG_STX_GP3) += stx_gp3.o
|
|
|
|
obj-$(CONFIG_TQM85xx) += tqm85xx.o
|
|
|
|
+obj-$(CONFIG_TL_WDR4900_V1) += tl_wdr4900_v1.o
|
|
|
|
obj-$(CONFIG_SBC8548) += sbc8548.o
|
|
|
|
obj-$(CONFIG_PPA8548) += ppa8548.o
|
|
|
|
obj-$(CONFIG_SOCRATES) += socrates.o socrates_fpga_pic.o
|
2019-01-29 22:52:27 +00:00
|
|
|
--
|
|
|
|
2.20.1
|
|
|
|
|