mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 05:04:23 +08:00
clk: ast2600: Revise MII interface delay
The clock delay of the RMII/RGMII interface is controlled by SCU340~35C. These values are obtained by measurement and experiments so we simply use macro to define them. Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
parent
0810de5769
commit
e559193968
@ -19,11 +19,11 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
#define CLKIN_25M 25000000UL
|
||||
|
||||
/* MAC Clock Delay settings */
|
||||
#define MAC12_DEF_DELAY_1G 0x0041b75d
|
||||
#define MAC12_DEF_DELAY_100M 0x00417410
|
||||
#define MAC12_DEF_DELAY_10M 0x00417410
|
||||
#define MAC34_DEF_DELAY_1G 0x0010438a
|
||||
#define MAC34_DEF_DELAY_100M 0x00104208
|
||||
#define MAC12_DEF_DELAY_1G 0x0028a410
|
||||
#define MAC12_DEF_DELAY_100M 0x00410410
|
||||
#define MAC12_DEF_DELAY_10M 0x00410410
|
||||
#define MAC34_DEF_DELAY_1G 0x00104208
|
||||
#define MAC34_DEF_DELAY_100M 0x00104208
|
||||
#define MAC34_DEF_DELAY_10M 0x00104208
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user