diff options
Diffstat (limited to 'arch/arm/mach-exynos/include')
-rw-r--r-- | arch/arm/mach-exynos/include/mach/irqs.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-exynos/include/mach/map.h | 8 | ||||
-rw-r--r-- | arch/arm/mach-exynos/include/mach/ohci.h | 21 | ||||
-rw-r--r-- | arch/arm/mach-exynos/include/mach/spi-clocks.h | 16 |
4 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/irqs.h b/arch/arm/mach-exynos/include/mach/irqs.h index 713dd5251c64..f77bce04789a 100644 --- a/arch/arm/mach-exynos/include/mach/irqs.h +++ b/arch/arm/mach-exynos/include/mach/irqs.h | |||
@@ -72,6 +72,9 @@ | |||
72 | #define IRQ_IIC5 IRQ_SPI(63) | 72 | #define IRQ_IIC5 IRQ_SPI(63) |
73 | #define IRQ_IIC6 IRQ_SPI(64) | 73 | #define IRQ_IIC6 IRQ_SPI(64) |
74 | #define IRQ_IIC7 IRQ_SPI(65) | 74 | #define IRQ_IIC7 IRQ_SPI(65) |
75 | #define IRQ_SPI0 IRQ_SPI(66) | ||
76 | #define IRQ_SPI1 IRQ_SPI(67) | ||
77 | #define IRQ_SPI2 IRQ_SPI(68) | ||
75 | 78 | ||
76 | #define IRQ_USB_HOST IRQ_SPI(70) | 79 | #define IRQ_USB_HOST IRQ_SPI(70) |
77 | #define IRQ_USB_HSOTG IRQ_SPI(71) | 80 | #define IRQ_USB_HSOTG IRQ_SPI(71) |
diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h index d1829860a0ec..c754a22a2bb3 100644 --- a/arch/arm/mach-exynos/include/mach/map.h +++ b/arch/arm/mach-exynos/include/mach/map.h | |||
@@ -87,6 +87,10 @@ | |||
87 | #define EXYNOS4_PA_SYSMMU_TV 0x12E20000 | 87 | #define EXYNOS4_PA_SYSMMU_TV 0x12E20000 |
88 | #define EXYNOS4_PA_SYSMMU_MFC_L 0x13620000 | 88 | #define EXYNOS4_PA_SYSMMU_MFC_L 0x13620000 |
89 | #define EXYNOS4_PA_SYSMMU_MFC_R 0x13630000 | 89 | #define EXYNOS4_PA_SYSMMU_MFC_R 0x13630000 |
90 | #define EXYNOS4_PA_SPI0 0x13920000 | ||
91 | #define EXYNOS4_PA_SPI1 0x13930000 | ||
92 | #define EXYNOS4_PA_SPI2 0x13940000 | ||
93 | |||
90 | 94 | ||
91 | #define EXYNOS4_PA_GPIO1 0x11400000 | 95 | #define EXYNOS4_PA_GPIO1 0x11400000 |
92 | #define EXYNOS4_PA_GPIO2 0x11000000 | 96 | #define EXYNOS4_PA_GPIO2 0x11000000 |
@@ -107,6 +111,7 @@ | |||
107 | #define EXYNOS4_PA_SROMC 0x12570000 | 111 | #define EXYNOS4_PA_SROMC 0x12570000 |
108 | 112 | ||
109 | #define EXYNOS4_PA_EHCI 0x12580000 | 113 | #define EXYNOS4_PA_EHCI 0x12580000 |
114 | #define EXYNOS4_PA_OHCI 0x12590000 | ||
110 | #define EXYNOS4_PA_HSPHY 0x125B0000 | 115 | #define EXYNOS4_PA_HSPHY 0x125B0000 |
111 | #define EXYNOS4_PA_MFC 0x13400000 | 116 | #define EXYNOS4_PA_MFC 0x13400000 |
112 | 117 | ||
@@ -148,6 +153,9 @@ | |||
148 | #define S3C_PA_RTC EXYNOS4_PA_RTC | 153 | #define S3C_PA_RTC EXYNOS4_PA_RTC |
149 | #define S3C_PA_WDT EXYNOS4_PA_WATCHDOG | 154 | #define S3C_PA_WDT EXYNOS4_PA_WATCHDOG |
150 | #define S3C_PA_UART EXYNOS4_PA_UART | 155 | #define S3C_PA_UART EXYNOS4_PA_UART |
156 | #define S3C_PA_SPI0 EXYNOS4_PA_SPI0 | ||
157 | #define S3C_PA_SPI1 EXYNOS4_PA_SPI1 | ||
158 | #define S3C_PA_SPI2 EXYNOS4_PA_SPI2 | ||
151 | 159 | ||
152 | #define S5P_PA_EHCI EXYNOS4_PA_EHCI | 160 | #define S5P_PA_EHCI EXYNOS4_PA_EHCI |
153 | #define S5P_PA_FIMC0 EXYNOS4_PA_FIMC0 | 161 | #define S5P_PA_FIMC0 EXYNOS4_PA_FIMC0 |
diff --git a/arch/arm/mach-exynos/include/mach/ohci.h b/arch/arm/mach-exynos/include/mach/ohci.h new file mode 100644 index 000000000000..c256c595be5e --- /dev/null +++ b/arch/arm/mach-exynos/include/mach/ohci.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2011 Samsung Electronics Co.Ltd | ||
3 | * http://www.samsung.com/ | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License as published by the | ||
7 | * Free Software Foundation; either version 2 of the License, or (at your | ||
8 | * option) any later version. | ||
9 | */ | ||
10 | |||
11 | #ifndef __MACH_EXYNOS_OHCI_H | ||
12 | #define __MACH_EXYNOS_OHCI_H | ||
13 | |||
14 | struct exynos4_ohci_platdata { | ||
15 | int (*phy_init)(struct platform_device *pdev, int type); | ||
16 | int (*phy_exit)(struct platform_device *pdev, int type); | ||
17 | }; | ||
18 | |||
19 | extern void exynos4_ohci_set_platdata(struct exynos4_ohci_platdata *pd); | ||
20 | |||
21 | #endif /* __MACH_EXYNOS_OHCI_H */ | ||
diff --git a/arch/arm/mach-exynos/include/mach/spi-clocks.h b/arch/arm/mach-exynos/include/mach/spi-clocks.h new file mode 100644 index 000000000000..576efdf6d091 --- /dev/null +++ b/arch/arm/mach-exynos/include/mach/spi-clocks.h | |||
@@ -0,0 +1,16 @@ | |||
1 | /* linux/arch/arm/mach-exynos4/include/mach/spi-clocks.h | ||
2 | * | ||
3 | * Copyright (C) 2011 Samsung Electronics Co. Ltd. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | ||
9 | |||
10 | #ifndef __ASM_ARCH_SPI_CLKS_H | ||
11 | #define __ASM_ARCH_SPI_CLKS_H __FILE__ | ||
12 | |||
13 | /* Must source from SCLK_SPI */ | ||
14 | #define EXYNOS4_SPI_SRCCLK_SCLK 0 | ||
15 | |||
16 | #endif /* __ASM_ARCH_SPI_CLKS_H */ | ||