/*
 * Copyright (c) 2014 Linaro Ltd.
 * Copyright (c) 2014 Hisilicon Limited.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 */

#ifndef __DTS_HIX5HD2_CLOCK_H
#define __DTS_HIX5HD2_CLOCK_H

/* fixed rate */
#define HIX5HD2_FIXED_1200M		1
#define HIX5HD2_FIXED_400M		2
#define HIX5HD2_FIXED_48M		3
#define HIX5HD2_FIXED_24M		4
#define HIX5HD2_FIXED_600M		5
#define HIX5HD2_FIXED_300M		6
#define HIX5HD2_FIXED_75M		7
#define HIX5HD2_FIXED_200M		8
#define HIX5HD2_FIXED_100M		9
#define HIX5HD2_FIXED_40M		10
#define HIX5HD2_FIXED_150M		11
#define HIX5HD2_FIXED_1728M		12
#define HIX5HD2_FIXED_28P8M		13
#define HIX5HD2_FIXED_432M		14
#define HIX5HD2_FIXED_345P6M		15
#define HIX5HD2_FIXED_288M		16
#define HIX5HD2_FIXED_60M		17
#define HIX5HD2_FIXED_750M		18
#define HIX5HD2_FIXED_500M		19
#define HIX5HD2_FIXED_54M		20
#define HIX5HD2_FIXED_27M		21
#define HIX5HD2_FIXED_1500M		22
#define HIX5HD2_FIXED_375M		23
#define HIX5HD2_FIXED_187M		24
#define HIX5HD2_FIXED_250M		25
#define HIX5HD2_FIXED_125M		26
#define HIX5HD2_FIXED_2P02M		27
#define HIX5HD2_FIXED_50M		28
#define HIX5HD2_FIXED_25M		29
#define HIX5HD2_FIXED_83M		30

/* mux clocks */
#define HIX5HD2_SFC_MUX			64
#define HIX5HD2_MMC_MUX			65
#define HIX5HD2_FEPHY_MUX		66
#define HIX5HD2_SD_MUX			67

/* gate clocks */
#define HIX5HD2_SFC_RST			128
#define HIX5HD2_SFC_CLK			129
#define HIX5HD2_MMC_CIU_CLK		130
#define HIX5HD2_MMC_BIU_CLK		131
#define HIX5HD2_MMC_CIU_RST		132
#define HIX5HD2_FWD_BUS_CLK		133
#define HIX5HD2_FWD_SYS_CLK		134
#define HIX5HD2_MAC0_PHY_CLK		135
#define HIX5HD2_SD_CIU_CLK		136
#define HIX5HD2_SD_BIU_CLK		137
#define HIX5HD2_SD_CIU_RST		138
#define HIX5HD2_WDG0_CLK		139
#define HIX5HD2_WDG0_RST		140
#define HIX5HD2_I2C0_CLK		141
#define HIX5HD2_I2C0_RST		142
#define HIX5HD2_I2C1_CLK		143
#define HIX5HD2_I2C1_RST		144
#define HIX5HD2_I2C2_CLK		145
#define HIX5HD2_I2C2_RST		146
#define HIX5HD2_I2C3_CLK		147
#define HIX5HD2_I2C3_RST		148
#define HIX5HD2_I2C4_CLK		149
#define HIX5HD2_I2C4_RST		150
#define HIX5HD2_I2C5_CLK		151
#define HIX5HD2_I2C5_RST		152

/* complex */
#define HIX5HD2_MAC0_CLK		192
#define HIX5HD2_MAC1_CLK		193
#define HIX5HD2_SATA_CLK		194
#define HIX5HD2_USB_CLK			195

#define HIX5HD2_NR_CLKS			256
#endif	/* __DTS_HIX5HD2_CLOCK_H */
 name='id' value='1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'/><input type='hidden' name='id2' value='d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&amp;id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&amp;id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>include</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/trace?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&amp;id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>trace</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/trace/events?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&amp;id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>events</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/trace/events/napi.h?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&amp;id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>napi.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'/><input type='hidden' name='id2' value='d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&amp;id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>Diffstat</a> (limited to 'include/trace/events/napi.h')</div><table summary='diffstat' class='diffstat'>