xref: /linux/arch/mips/include/asm/mach-loongson32/platform.h (revision ebf68996de0ab250c5d520eb2291ab65643e9a1e)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
4  */
5 
6 #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
7 #define __ASM_MACH_LOONGSON32_PLATFORM_H
8 
9 #include <linux/platform_device.h>
10 
11 #include <dma.h>
12 #include <nand.h>
13 
14 extern struct platform_device ls1x_uart_pdev;
15 extern struct platform_device ls1x_cpufreq_pdev;
16 extern struct platform_device ls1x_eth0_pdev;
17 extern struct platform_device ls1x_eth1_pdev;
18 extern struct platform_device ls1x_ehci_pdev;
19 extern struct platform_device ls1x_gpio0_pdev;
20 extern struct platform_device ls1x_gpio1_pdev;
21 extern struct platform_device ls1x_rtc_pdev;
22 extern struct platform_device ls1x_wdt_pdev;
23 
24 void __init ls1x_clk_init(void);
25 void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
26 void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
27 
28 #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */
29