xref: /linux/arch/mips/include/asm/mach-loongson32/platform.h (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
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 
1130ad29bbSHuacai Chen extern struct platform_device ls1x_uart_pdev;
1230ad29bbSHuacai Chen extern struct platform_device ls1x_eth0_pdev;
1330ad29bbSHuacai Chen extern struct platform_device ls1x_eth1_pdev;
1430ad29bbSHuacai Chen extern struct platform_device ls1x_ehci_pdev;
159ec88b60SKelvin Cheung extern struct platform_device ls1x_gpio0_pdev;
169ec88b60SKelvin Cheung extern struct platform_device ls1x_gpio1_pdev;
1730ad29bbSHuacai Chen extern struct platform_device ls1x_rtc_pdev;
185e73ad3fSYang Ling extern struct platform_device ls1x_wdt_pdev;
1930ad29bbSHuacai Chen 
2060219c56SYang Ling void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
215e73ad3fSYang Ling void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
2230ad29bbSHuacai Chen 
2330ad29bbSHuacai Chen #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */
24