1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * M66592 driver platform data 3 * M66592 driver platform data 4 * 4 * 5 * Copyright (C) 2009 Renesas Solutions Corp. 5 * Copyright (C) 2009 Renesas Solutions Corp. 6 */ 6 */ 7 7 8 #ifndef __LINUX_USB_M66592_H 8 #ifndef __LINUX_USB_M66592_H 9 #define __LINUX_USB_M66592_H 9 #define __LINUX_USB_M66592_H 10 10 11 #define M66592_PLATDATA_XTAL_12MHZ 0x01 11 #define M66592_PLATDATA_XTAL_12MHZ 0x01 12 #define M66592_PLATDATA_XTAL_24MHZ 0x02 12 #define M66592_PLATDATA_XTAL_24MHZ 0x02 13 #define M66592_PLATDATA_XTAL_48MHZ 0x03 13 #define M66592_PLATDATA_XTAL_48MHZ 0x03 14 14 15 struct m66592_platdata { 15 struct m66592_platdata { 16 /* one = on chip controller, zero = ex 16 /* one = on chip controller, zero = external controller */ 17 unsigned on_chip:1; 17 unsigned on_chip:1; 18 18 19 /* one = big endian, zero = little end 19 /* one = big endian, zero = little endian */ 20 unsigned endian:1; 20 unsigned endian:1; 21 21 22 /* (external controller only) M66592_P 22 /* (external controller only) M66592_PLATDATA_XTAL_nnMHZ */ 23 unsigned xtal:2; 23 unsigned xtal:2; 24 24 25 /* (external controller only) one = 3. 25 /* (external controller only) one = 3.3V, zero = 1.5V */ 26 unsigned vif:1; 26 unsigned vif:1; 27 27 28 /* (external controller only) set one 28 /* (external controller only) set one = WR0_N shorted to WR1_N */ 29 unsigned wr0_shorted_to_wr1:1; 29 unsigned wr0_shorted_to_wr1:1; 30 }; 30 }; 31 31 32 #endif /* __LINUX_USB_M66592_H */ 32 #endif /* __LINUX_USB_M66592_H */ 33 33 34 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.