]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-at91/include/mach/board.h
[ARM] 5258/1: [AT91] PWM controller initialization
[linux-2.6-omap-h63xx.git] / arch / arm / mach-at91 / include / mach / board.h
index acd60f2a0724ad6c67f29f77eb0df7f4ed1d7988..9df4608b5f6ad477c5b477e89220ca4d6b1f972e 100644 (file)
@@ -132,6 +132,16 @@ struct atmel_uart_data {
 };
 extern void __init at91_add_device_serial(void);
 
+/*
+ * PWM
+ */
+#define AT91_PWM0      0
+#define AT91_PWM1      1
+#define AT91_PWM2      2
+#define AT91_PWM3      3
+
+extern void __init at91_add_device_pwm(u32 mask);
+
 /*
  * SSC -- accessed through ssc_request(id).  Drivers don't bind to SSC
  * platform devices.  Their SSC ID is part of their configuration data,