diff options
author | Eric Miao <eric.miao@marvell.com> | 2009-04-13 06:29:52 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-06-04 22:32:06 -0400 |
commit | a27ba768a11ac7a1d56688d4224cef3a802d1f89 (patch) | |
tree | b6454495caae2103a104c0ae14232eed6e151738 /arch/arm/mach-mmp/include/mach/mfp-pxa910.h | |
parent | 2a55b910e0d240984860fa0264866c122751bd09 (diff) |
[ARM] pxa: add PWM devices support for pxa168/910
Signed-off-by: Mingwei Wang <mingwei.wang@marvell.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/mfp-pxa910.h')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/mfp-pxa910.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/mfp-pxa910.h b/arch/arm/mach-mmp/include/mach/mfp-pxa910.h index d97de36c50ad..bf1189ff9a34 100644 --- a/arch/arm/mach-mmp/include/mach/mfp-pxa910.h +++ b/arch/arm/mach-mmp/include/mach/mfp-pxa910.h | |||
@@ -159,4 +159,12 @@ | |||
159 | #define MMC1_CD_MMC1_CD MFP_CFG_DRV(MMC1_CD, AF0, MEDIUM) | 159 | #define MMC1_CD_MMC1_CD MFP_CFG_DRV(MMC1_CD, AF0, MEDIUM) |
160 | #define MMC1_WP_MMC1_WP MFP_CFG_DRV(MMC1_WP, AF0, MEDIUM) | 160 | #define MMC1_WP_MMC1_WP MFP_CFG_DRV(MMC1_WP, AF0, MEDIUM) |
161 | 161 | ||
162 | /* PWM */ | ||
163 | #define GPIO27 PWM3 AF2 MFP_CFG(GPIO27, AF2) | ||
164 | #define GPIO51_PWM2_OUT MFP_CFG(GPIO51, AF2) | ||
165 | #define GPIO117_PWM1_OUT MFP_CFG(GPIO117, AF2) | ||
166 | #define GPIO118_PWM2_OUT MFP_CFG(GPIO118, AF2) | ||
167 | #define GPIO119_PWM3_OUT MFP_CFG(GPIO119, AF2) | ||
168 | #define GPIO120_PWM4_OUT MFP_CFG(GPIO120, AF2) | ||
169 | |||
162 | #endif /* __ASM_MACH MFP_PXA910_H */ | 170 | #endif /* __ASM_MACH MFP_PXA910_H */ |