xref: /linux/arch/mips/include/asm/mach-loongson32/platform.h (revision 30ad29bb48881ee11f5daf30c6fc50292ae08c57)
1*30ad29bbSHuacai Chen /*
2*30ad29bbSHuacai Chen  * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
3*30ad29bbSHuacai Chen  *
4*30ad29bbSHuacai Chen  * This program is free software; you can redistribute	it and/or modify it
5*30ad29bbSHuacai Chen  * under  the terms of	the GNU General	 Public License as published by the
6*30ad29bbSHuacai Chen  * Free Software Foundation;  either version 2 of the  License, or (at your
7*30ad29bbSHuacai Chen  * option) any later version.
8*30ad29bbSHuacai Chen  */
9*30ad29bbSHuacai Chen 
10*30ad29bbSHuacai Chen 
11*30ad29bbSHuacai Chen #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
12*30ad29bbSHuacai Chen #define __ASM_MACH_LOONGSON32_PLATFORM_H
13*30ad29bbSHuacai Chen 
14*30ad29bbSHuacai Chen #include <linux/platform_device.h>
15*30ad29bbSHuacai Chen 
16*30ad29bbSHuacai Chen extern struct platform_device ls1x_uart_pdev;
17*30ad29bbSHuacai Chen extern struct platform_device ls1x_cpufreq_pdev;
18*30ad29bbSHuacai Chen extern struct platform_device ls1x_eth0_pdev;
19*30ad29bbSHuacai Chen extern struct platform_device ls1x_eth1_pdev;
20*30ad29bbSHuacai Chen extern struct platform_device ls1x_ehci_pdev;
21*30ad29bbSHuacai Chen extern struct platform_device ls1x_rtc_pdev;
22*30ad29bbSHuacai Chen 
23*30ad29bbSHuacai Chen extern void __init ls1x_clk_init(void);
24*30ad29bbSHuacai Chen extern void __init ls1x_serial_setup(struct platform_device *pdev);
25*30ad29bbSHuacai Chen 
26*30ad29bbSHuacai Chen #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */
27