aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include/linux/spi/vsc7385.h
blob: 1072ad7941c866adf5cc17e358ed48a425633c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Platform data definition for the Vitesse VSC7385 ethernet switch driver
 *
 * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation.
 */

struct vsc7385_platform_data {
	void		(*reset)(void);
	char		*ucode_name;
	struct {
		u32	tx_ipg:5;
		u32	bit2:1;
		u32	clk_sel:3;
	} mac_cfg;
};