mirror of https://gitee.com/openkylin/linux.git
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> Cc: linux-mips@linux-mips.org Cc: mcgrof@infradead.org Patchwork: https://patchwork.linux-mips.org/patch/3512/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
42184768b3
commit
9800bdc797
|
@ -89,7 +89,8 @@ void __init ath79_register_uart(void)
|
||||||
|
|
||||||
if (soc_is_ar71xx() ||
|
if (soc_is_ar71xx() ||
|
||||||
soc_is_ar724x() ||
|
soc_is_ar724x() ||
|
||||||
soc_is_ar913x()) {
|
soc_is_ar913x() ||
|
||||||
|
soc_is_ar934x()) {
|
||||||
ath79_uart_data[0].uartclk = clk_get_rate(clk);
|
ath79_uart_data[0].uartclk = clk_get_rate(clk);
|
||||||
platform_device_register(&ath79_uart_device);
|
platform_device_register(&ath79_uart_device);
|
||||||
} else if (soc_is_ar933x()) {
|
} else if (soc_is_ar933x()) {
|
||||||
|
|
Loading…
Reference in New Issue