summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2016-03-07 16:30:26 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-10 09:39:15 +0100
commit559dac92684c1c443d3d11ee9c07f183072cb9a2 (patch)
treec8c3a9d8beed8720eda4c1fc0b674647293961ab /arch/mips
parente2f0f35d2b5a95e0679fa6a54c8447d48ef4bed5 (diff)
downloadbarebox-559dac92684c1c443d3d11ee9c07f183072cb9a2.tar.gz
barebox-559dac92684c1c443d3d11ee9c07f183072cb9a2.tar.xz
MIPS: tplink-mr3020: fix "WPS" and "3G" LEDs
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
index 2400015ace..ef0d36dc38 100644
--- a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
+++ b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
@@ -46,6 +46,12 @@ skip_pll_ram_config:
debug_ll_ar9331_init
mips_nmon
+ /*
+ * It is amazing but we have to enable MDIO on GPIO
+ * to use GPIO26 for the "WPS" LED and GPIO27 for the "3G" LED.
+ */
+ pbl_ar9331_mdio_gpio_enable
+
copy_to_link_location pbl_start
.set pop