mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 18:58:37 +03:00
Tested on the following boards: ALFA AP96 TL-MR3220 v1 TL-WR1043ND v1 TL-WR2543ND v1 TL-WR703N v1 TL-WR741ND v1 TL-WR741ND v4 WNDR3700 v1 WZR-HP-G300NH git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
805 B
Diff
24 lines
805 B
Diff
From 6b6803a249a27aa708bc5f24aa15270e30f3de61 Mon Sep 17 00:00:00 2001
|
|
From: Gabor Juhos <juhosg@openwrt.org>
|
|
Date: Sat, 10 Dec 2011 19:55:05 +0100
|
|
Subject: [PATCH 29/35] MIPS: ath79: register UART device for AR934X SoCs
|
|
|
|
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
|
|
---
|
|
arch/mips/ath79/dev-common.c | 3 ++-
|
|
1 files changed, 2 insertions(+), 1 deletions(-)
|
|
|
|
--- a/arch/mips/ath79/dev-common.c
|
|
+++ b/arch/mips/ath79/dev-common.c
|
|
@@ -89,7 +89,8 @@ void __init ath79_register_uart(void)
|
|
|
|
if (soc_is_ar71xx() ||
|
|
soc_is_ar724x() ||
|
|
- soc_is_ar913x()) {
|
|
+ soc_is_ar913x() ||
|
|
+ soc_is_ar934x()) {
|
|
ath79_uart_data[0].uartclk = clk_get_rate(clk);
|
|
platform_device_register(&ath79_uart_device);
|
|
} else if (soc_is_ar933x()) {
|