diff options
author | 2025-05-07 13:44:57 +0000 | |
---|---|---|
committer | 2025-05-20 08:46:58 +0200 | |
commit | 35fb26f94dfa1b291086b84b2421f957214824d1 (patch) | |
tree | 52ef5ea17cdcc08a88f9efe23e0923d5b1da35a7 /arch/mips/boot/compressed | |
parent | dt-bindings: mips: Add EcoNet platform binding (diff) | |
download | wireguard-linux-35fb26f94dfa1b291086b84b2421f957214824d1.tar.xz wireguard-linux-35fb26f94dfa1b291086b84b2421f957214824d1.zip |
mips: Add EcoNet MIPS platform support
Add platform support for EcoNet MIPS SoCs.
Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot/compressed')
-rw-r--r-- | arch/mips/boot/compressed/uart-16550.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c index db618e72a0c4..529e77a6487c 100644 --- a/arch/mips/boot/compressed/uart-16550.c +++ b/arch/mips/boot/compressed/uart-16550.c @@ -20,6 +20,11 @@ #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) #endif +#ifdef CONFIG_ECONET +#define EN75_UART_BASE 0x1fbf0003 +#define PORT(offset) (CKSEG1ADDR(EN75_UART_BASE) + (4 * (offset))) +#endif + #ifndef IOTYPE #define IOTYPE char #endif |