m66592.h 773 B

123456789101112131415161718192021222324252627282930313233
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * M66592 driver platform data
  4. *
  5. * Copyright (C) 2009 Renesas Solutions Corp.
  6. */
  7. #ifndef __LINUX_USB_M66592_H
  8. #define __LINUX_USB_M66592_H
  9. #define M66592_PLATDATA_XTAL_12MHZ 0x01
  10. #define M66592_PLATDATA_XTAL_24MHZ 0x02
  11. #define M66592_PLATDATA_XTAL_48MHZ 0x03
  12. struct m66592_platdata {
  13. /* one = on chip controller, zero = external controller */
  14. unsigned on_chip:1;
  15. /* one = big endian, zero = little endian */
  16. unsigned endian:1;
  17. /* (external controller only) M66592_PLATDATA_XTAL_nnMHZ */
  18. unsigned xtal:2;
  19. /* (external controller only) one = 3.3V, zero = 1.5V */
  20. unsigned vif:1;
  21. /* (external controller only) set one = WR0_N shorted to WR1_N */
  22. unsigned wr0_shorted_to_wr1:1;
  23. };
  24. #endif /* __LINUX_USB_M66592_H */