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:
Dylan Hung 2021-12-09 10:12:28 +08:00 committed by Tom Rini
parent 0810de5769
commit e559193968

View File

@ -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
/*