130ad29bbSHuacai Chen /* 230ad29bbSHuacai Chen * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com> 330ad29bbSHuacai Chen * 430ad29bbSHuacai Chen * This program is free software; you can redistribute it and/or modify it 530ad29bbSHuacai Chen * under the terms of the GNU General Public License as published by the 630ad29bbSHuacai Chen * Free Software Foundation; either version 2 of the License, or (at your 730ad29bbSHuacai Chen * option) any later version. 830ad29bbSHuacai Chen */ 930ad29bbSHuacai Chen 1030ad29bbSHuacai Chen #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H 1130ad29bbSHuacai Chen #define __ASM_MACH_LOONGSON32_PLATFORM_H 1230ad29bbSHuacai Chen 1330ad29bbSHuacai Chen #include <linux/platform_device.h> 1430ad29bbSHuacai Chen 15*9ec88b60SKelvin Cheung #include <dma.h> 16*9ec88b60SKelvin Cheung #include <nand.h> 17*9ec88b60SKelvin Cheung 1830ad29bbSHuacai Chen extern struct platform_device ls1x_uart_pdev; 1930ad29bbSHuacai Chen extern struct platform_device ls1x_cpufreq_pdev; 20*9ec88b60SKelvin Cheung extern struct platform_device ls1x_dma_pdev; 2130ad29bbSHuacai Chen extern struct platform_device ls1x_eth0_pdev; 2230ad29bbSHuacai Chen extern struct platform_device ls1x_eth1_pdev; 2330ad29bbSHuacai Chen extern struct platform_device ls1x_ehci_pdev; 24*9ec88b60SKelvin Cheung extern struct platform_device ls1x_gpio0_pdev; 25*9ec88b60SKelvin Cheung extern struct platform_device ls1x_gpio1_pdev; 26*9ec88b60SKelvin Cheung extern struct platform_device ls1x_nand_pdev; 2730ad29bbSHuacai Chen extern struct platform_device ls1x_rtc_pdev; 2830ad29bbSHuacai Chen 29*9ec88b60SKelvin Cheung void __init ls1x_clk_init(void); 30*9ec88b60SKelvin Cheung void __init ls1x_dma_set_platdata(struct plat_ls1x_dma *pdata); 31*9ec88b60SKelvin Cheung void __init ls1x_nand_set_platdata(struct plat_ls1x_nand *pdata); 32*9ec88b60SKelvin Cheung void __init ls1x_serial_set_uartclk(struct platform_device *pdev); 3330ad29bbSHuacai Chen 3430ad29bbSHuacai Chen #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */ 35