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 * >> 7 * This program is free software; you can redistribute it and/or modify >> 8 * it under the terms of the GNU General Public License as published by >> 9 * the Free Software Foundation; version 2 of the License. >> 10 * >> 11 * This program is distributed in the hope that it will be useful, >> 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 14 * GNU General Public License for more details. >> 15 * >> 16 * You should have received a copy of the GNU General Public License >> 17 * along with this program; if not, write to the Free Software >> 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA >> 19 * 6 */ 20 */ 7 21 8 #ifndef __LINUX_USB_M66592_H 22 #ifndef __LINUX_USB_M66592_H 9 #define __LINUX_USB_M66592_H 23 #define __LINUX_USB_M66592_H 10 24 11 #define M66592_PLATDATA_XTAL_12MHZ 0x01 25 #define M66592_PLATDATA_XTAL_12MHZ 0x01 12 #define M66592_PLATDATA_XTAL_24MHZ 0x02 26 #define M66592_PLATDATA_XTAL_24MHZ 0x02 13 #define M66592_PLATDATA_XTAL_48MHZ 0x03 27 #define M66592_PLATDATA_XTAL_48MHZ 0x03 14 28 15 struct m66592_platdata { 29 struct m66592_platdata { 16 /* one = on chip controller, zero = ex 30 /* one = on chip controller, zero = external controller */ 17 unsigned on_chip:1; 31 unsigned on_chip:1; 18 32 19 /* one = big endian, zero = little end 33 /* one = big endian, zero = little endian */ 20 unsigned endian:1; 34 unsigned endian:1; 21 35 22 /* (external controller only) M66592_P 36 /* (external controller only) M66592_PLATDATA_XTAL_nnMHZ */ 23 unsigned xtal:2; 37 unsigned xtal:2; 24 38 25 /* (external controller only) one = 3. 39 /* (external controller only) one = 3.3V, zero = 1.5V */ 26 unsigned vif:1; 40 unsigned vif:1; 27 41 28 /* (external controller only) set one 42 /* (external controller only) set one = WR0_N shorted to WR1_N */ 29 unsigned wr0_shorted_to_wr1:1; 43 unsigned wr0_shorted_to_wr1:1; 30 }; 44 }; 31 45 32 #endif /* __LINUX_USB_M66592_H */ 46 #endif /* __LINUX_USB_M66592_H */ 33 47 34 48
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.