summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices/platform-mxc_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-mxc_pwm.c')
-rwxr-xr-xarch/arm/plat-mxc/devices/platform-mxc_pwm.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-mxc_pwm.c b/arch/arm/plat-mxc/devices/platform-mxc_pwm.c
index a8521b978676..c157cf9c782c 100755
--- a/arch/arm/plat-mxc/devices/platform-mxc_pwm.c
+++ b/arch/arm/plat-mxc/devices/platform-mxc_pwm.c
@@ -69,6 +69,36 @@ const struct imx_mxc_pwm_data imx6q_mxc_pwm_data[] __initconst = {
};
#endif /* ifdef CONFIG_SOC_IMX6Q */
+#ifdef CONFIG_SOC_MVFA5
+const struct imx_mxc_pwm_data mvf_mxc_pwm_data[] __initdata = {
+ [0] = {
+ 1,
+ MVF_FTM0_BASE_ADDR,
+ SZ_4K,
+ MVF_INT_FLEXTIMER0,
+ },
+ [1] = {
+ 2,
+ MVF_FTM1_BASE_ADDR,
+ SZ_4K,
+ MVF_INT_FLEXTIMER1,
+ },
+ [2] = {
+ 3,
+ MVF_FTM2_BASE_ADDR,
+ SZ_4K,
+ MVF_INT_FLEXTIMER2,
+ },
+ [3] = {
+ 4,
+ MVF_FTM3_BASE_ADDR,
+ SZ_4K,
+ MVF_INT_FLEXTIMER3,
+ },
+};
+
+#endif
+
struct platform_device *__init imx_add_mxc_pwm(
const struct imx_mxc_pwm_data *data)
{