]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/mips/include/asm/mach-loongson32/platform.h
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / arch / mips / include / asm / mach-loongson32 / platform.h
CommitLineData
ca585cf9
KC
1/*
2 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
3 *
5e73ad3f
YL
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
ca585cf9
KC
7 * option) any later version.
8 */
9
30ad29bb
HC
10#ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
11#define __ASM_MACH_LOONGSON32_PLATFORM_H
ca585cf9
KC
12
13#include <linux/platform_device.h>
14
9ec88b60
KC
15#include <dma.h>
16#include <nand.h>
17
f29ad10d
KC
18extern struct platform_device ls1x_uart_pdev;
19extern struct platform_device ls1x_cpufreq_pdev;
9ec88b60 20extern struct platform_device ls1x_dma_pdev;
f29ad10d
KC
21extern struct platform_device ls1x_eth0_pdev;
22extern struct platform_device ls1x_eth1_pdev;
23extern struct platform_device ls1x_ehci_pdev;
9ec88b60
KC
24extern struct platform_device ls1x_gpio0_pdev;
25extern struct platform_device ls1x_gpio1_pdev;
26extern struct platform_device ls1x_nand_pdev;
f29ad10d 27extern struct platform_device ls1x_rtc_pdev;
5e73ad3f 28extern struct platform_device ls1x_wdt_pdev;
ca585cf9 29
9ec88b60
KC
30void __init ls1x_clk_init(void);
31void __init ls1x_dma_set_platdata(struct plat_ls1x_dma *pdata);
32void __init ls1x_nand_set_platdata(struct plat_ls1x_nand *pdata);
60219c56 33void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
5e73ad3f 34void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
ca585cf9 35
30ad29bb 36#endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */