clk: rockchip: Add rk3328 gamc clock support
The rk3328 soc has two gmac controllers, one is gmac2io, the other is gmac2phy. We use the gmac2io rgmii interface for 1000M phy here. Signed-off-by: David Wu <david.wu@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
committed by
Philipp Tomsich
parent
dfb886d4f2
commit
7cd4ebab2b
@@ -86,6 +86,9 @@
|
||||
#define SCLK_USB3OTG_SUSPEND 97
|
||||
#define SCLK_REF_USB3OTG_SRC 98
|
||||
#define SCLK_MAC2IO_SRC 99
|
||||
#define SCLK_MAC2IO 100
|
||||
#define SCLK_MAC2PHY 101
|
||||
#define SCLK_MAC2IO_EXT 102
|
||||
|
||||
/* dclk gates */
|
||||
#define DCLK_LCDC 180
|
||||
@@ -199,9 +202,6 @@
|
||||
|
||||
#define CLK_NR_CLKS (HCLK_HDCP + 1)
|
||||
|
||||
#define SCLK_MAC2IO 0
|
||||
#define SCLK_MAC2PHY 1
|
||||
|
||||
#define CLKGRF_NR_CLKS (SCLK_MAC2PHY + 1)
|
||||
|
||||
/* soft-reset indices */
|
||||
|
||||
Reference in New Issue
Block a user