#define RB750_LED_BITS (RB750_LED_PORT1 | RB750_LED_PORT2 | RB750_LED_PORT3 | \
RB750_LED_PORT4 | RB750_LED_PORT5 | RB750_LED_ACT)
+#define RB7XX_GPIO_NAND_NCE 0
+#define RB7XX_GPIO_MON 9
+#define RB7XX_GPIO_LED_ACT 11
+#define RB7XX_GPIO_USB_POWERON 13
+
+#define RB7XX_NAND_NCE BIT(RB7XX_GPIO_NAND_NCE)
+#define RB7XX_LED_ACT BIT(RB7XX_GPIO_LED_ACT)
+#define RB7XX_MONITOR BIT(RB7XX_GPIO_MON)
+#define RB7XX_USB_POWERON BIT(RB7XX_GPIO_USB_POWERON)
+
struct rb750_led_data {
char *name;
char *default_trigger;
struct rb750_led_platform_data {
int num_leds;
struct rb750_led_data *leds;
+ void (*latch_change)(u32 clear, u32 set);
};
struct rb7xx_nand_platform_data {
void (*latch_change)(u32, u32);
};
-int rb750_latch_change(u32 mask_clr, u32 mask_set);
-
#endif /* _MACH_RB750_H */
\ No newline at end of file