aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/include/mach/mfp-pxa910.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-04-13 18:29:52 +0800
committerEric Miao <eric.y.miao@gmail.com>2009-06-05 10:32:06 +0800
commita27ba768a11ac7a1d56688d4224cef3a802d1f89 (patch)
treeb6454495caae2103a104c0ae14232eed6e151738 /arch/arm/mach-mmp/include/mach/mfp-pxa910.h
parent[ARM] pxa: add missing IRQ_PXA910_NONE to irqs.h (diff)
downloadlinux-dev-a27ba768a11ac7a1d56688d4224cef3a802d1f89.tar.xz
linux-dev-a27ba768a11ac7a1d56688d4224cef3a802d1f89.zip
[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.h8
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 @@
#define MMC1_CD_MMC1_CD MFP_CFG_DRV(MMC1_CD, AF0, MEDIUM)
#define MMC1_WP_MMC1_WP MFP_CFG_DRV(MMC1_WP, AF0, MEDIUM)
+/* PWM */
+#define GPIO27 PWM3 AF2 MFP_CFG(GPIO27, AF2)
+#define GPIO51_PWM2_OUT MFP_CFG(GPIO51, AF2)
+#define GPIO117_PWM1_OUT MFP_CFG(GPIO117, AF2)
+#define GPIO118_PWM2_OUT MFP_CFG(GPIO118, AF2)
+#define GPIO119_PWM3_OUT MFP_CFG(GPIO119, AF2)
+#define GPIO120_PWM4_OUT MFP_CFG(GPIO120, AF2)
+
#endif /* __ASM_MACH MFP_PXA910_H */