-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ath71xx: add custom Rambutan interfaces
- Loading branch information
Showing
3 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
target/linux/ar71xx/patches-4.14/0061-tty-serial-drop-ATH79-specific-SoC-symbols.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From fffd7173ac3210279896f8726ec31699b28c93b4 Mon Sep 17 00:00:00 2001 | ||
From: John Crispin <[email protected]> | ||
Date: Mon, 7 May 2018 15:14:07 +0200 | ||
Subject: tty: serial: drop ATH79 specific SoC symbols | ||
|
||
QCA MIPS support is being converted to pure OF. As part of this we are | ||
dropping the SOC_AR* symbols. Additionally the SERIAL_AR933X style tty | ||
is also found on a few SoCs newer that the AR933x. | ||
|
||
This patch changes the dependency to ATH79, thus fixing the 2 issues | ||
described above. | ||
|
||
Signed-off-by: John Crispin <[email protected]> | ||
Signed-off-by: Greg Kroah-Hartman <[email protected]> | ||
--- | ||
drivers/tty/serial/Kconfig | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
(limited to 'drivers/tty/serial/Kconfig') | ||
|
||
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig | ||
index eca55187539a..df8bd0c7b97d 100644 | ||
--- a/drivers/tty/serial/Kconfig | ||
+++ b/drivers/tty/serial/Kconfig | ||
@@ -1294,7 +1294,7 @@ config SERIAL_XILINX_PS_UART_CONSOLE | ||
|
||
config SERIAL_AR933X | ||
tristate "AR933X serial port support" | ||
- depends on HAVE_CLK && SOC_AR933X | ||
+ depends on HAVE_CLK && ATH79 | ||
select SERIAL_CORE | ||
help | ||
If you have an Atheros AR933X SOC based board and want to use the | ||
-- | ||
cgit 1.2-0.3.lf.el7 | ||
|
11 changes: 11 additions & 0 deletions
11
target/linux/ar71xx/patches-4.14/917-MIPS-ath79-add-qca955x-uart1-reg-defs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h | ||
+++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h | ||
@@ -137,6 +137,8 @@ | ||
#define QCA955X_GMAC_SIZE 0x40 | ||
#define QCA955X_WMAC_BASE (AR71XX_APB_BASE + 0x00100000) | ||
#define QCA955X_WMAC_SIZE 0x20000 | ||
+#define QCA955X_UART1_BASE (AR71XX_APB_BASE + 0x00500000) | ||
+#define QCA955X_UART1_SIZE 0x14 | ||
#define QCA955X_EHCI0_BASE 0x1b000000 | ||
#define QCA955X_EHCI1_BASE 0x1b400000 | ||
#define QCA955X_EHCI_SIZE 0x1000 |