xref: /linux/arch/mips/include/asm/mach-loongson32/platform.h (revision 2874c5fd284268364ece81a7bd936f3c8168e567)
1*2874c5fdSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
230ad29bbSHuacai Chen /*
330ad29bbSHuacai Chen  * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
430ad29bbSHuacai Chen  */
530ad29bbSHuacai Chen 
630ad29bbSHuacai Chen #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
730ad29bbSHuacai Chen #define __ASM_MACH_LOONGSON32_PLATFORM_H
830ad29bbSHuacai Chen 
930ad29bbSHuacai Chen #include <linux/platform_device.h>
1030ad29bbSHuacai Chen 
119ec88b60SKelvin Cheung #include <dma.h>
129ec88b60SKelvin Cheung #include <nand.h>
139ec88b60SKelvin Cheung 
1430ad29bbSHuacai Chen extern struct platform_device ls1x_uart_pdev;
1530ad29bbSHuacai Chen extern struct platform_device ls1x_cpufreq_pdev;
1630ad29bbSHuacai Chen extern struct platform_device ls1x_eth0_pdev;
1730ad29bbSHuacai Chen extern struct platform_device ls1x_eth1_pdev;
1830ad29bbSHuacai Chen extern struct platform_device ls1x_ehci_pdev;
199ec88b60SKelvin Cheung extern struct platform_device ls1x_gpio0_pdev;
209ec88b60SKelvin Cheung extern struct platform_device ls1x_gpio1_pdev;
2130ad29bbSHuacai Chen extern struct platform_device ls1x_rtc_pdev;
225e73ad3fSYang Ling extern struct platform_device ls1x_wdt_pdev;
2330ad29bbSHuacai Chen 
249ec88b60SKelvin Cheung void __init ls1x_clk_init(void);
2560219c56SYang Ling void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
265e73ad3fSYang Ling void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
2730ad29bbSHuacai Chen 
2830ad29bbSHuacai Chen #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */
29