|
@ -68,8 +68,8 @@ |
|
|
#define LS7A_HT_PLL_400M ((4 << LS7A_HT_PLL_DIV_LO) | (4 << LS7A_HT_PLL_DIV_HI) | (3 << LS7A_HT_PLL_DIV_REFC) | (16*4 << LS7A_HT_PLL_LOOPC) | (4 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#define LS7A_HT_PLL_400M ((4 << LS7A_HT_PLL_DIV_LO) | (4 << LS7A_HT_PLL_DIV_HI) | (3 << LS7A_HT_PLL_DIV_REFC) | (16*4 << LS7A_HT_PLL_LOOPC) | (4 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#define LS7A_HT_PLL_200M ((8 << LS7A_HT_PLL_DIV_LO) | (8 << LS7A_HT_PLL_DIV_HI) | (3 << LS7A_HT_PLL_DIV_REFC) | (16*4 << LS7A_HT_PLL_LOOPC) | (4 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#define LS7A_HT_PLL_200M ((8 << LS7A_HT_PLL_DIV_LO) | (8 << LS7A_HT_PLL_DIV_HI) | (3 << LS7A_HT_PLL_DIV_REFC) | (16*4 << LS7A_HT_PLL_LOOPC) | (4 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
|
|
|
|
|
|
#define LS7A_C_HT_PLL_2000M ((1 << LS7A_HT_PLL_DIV_LO) | (1 << LS7A_HT_PLL_DIV_HI) | (2 << LS7A_HT_PLL_DIV_REFC) | (20*2 << LS7A_HT_PLL_LOOPC) | (3 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#define LS7A_C_HT_PLL_2000M ((1 << LS7A_HT_PLL_DIV_LO) | (1 << LS7A_HT_PLL_DIV_HI) | (2 << LS7A_HT_PLL_DIV_REFC) | (20*2 << LS7A_HT_PLL_LOOPC) | (4 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#define LS7A_C_HT_PLL_1600M ((2 << LS7A_HT_PLL_DIV_LO) | (2 << LS7A_HT_PLL_DIV_HI) | (2 << LS7A_HT_PLL_DIV_REFC) | (32*2 << LS7A_HT_PLL_LOOPC) | (5 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#define LS7A_C_HT_PLL_1600M ((2 << LS7A_HT_PLL_DIV_LO) | (2 << LS7A_HT_PLL_DIV_HI) | (2 << LS7A_HT_PLL_DIV_REFC) | (32*2 << LS7A_HT_PLL_LOOPC) | (8 << LS7A_HT_PLL_DIV_CTRL)) |
|
|
#ifdef LOONGSON3A4000 |
|
|
#ifdef LOONGSON3A4000 |
|
|
#define LS3A_HT_RX_CACHE_WIN0_OFFSET 0x140 |
|
|
#define LS3A_HT_RX_CACHE_WIN0_OFFSET 0x140 |
|
|
#define LS3A_HT_RX_CACHE_WIN1_OFFSET 0x148 |
|
|
#define LS3A_HT_RX_CACHE_WIN1_OFFSET 0x148 |
|
|