OSDN Git Service

clk: rockchip: add clock-ids for rk3228 MAC clocks
authorXing Zheng <zhengxing@rock-chips.com>
Tue, 21 Jun 2016 04:59:47 +0000 (12:59 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 21 Jun 2016 22:29:27 +0000 (00:29 +0200)
This patch exports related MAC clocks for dts reference.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
include/dt-bindings/clock/rk3228-cru.h

index c992f3e..b27e2b1 100644 (file)
 #define SCLK_EMMC_SAMPLE       121
 #define SCLK_VOP               122
 #define SCLK_HDMI_HDCP         123
+#define SCLK_MAC_SRC           124
+#define SCLK_MAC_EXTCLK                125
+#define SCLK_MAC               126
+#define SCLK_MAC_REFOUT                127
+#define SCLK_MAC_REF           128
+#define SCLK_MAC_RX            129
+#define SCLK_MAC_TX            130
+#define SCLK_MAC_PHY           131
+#define SCLK_MAC_OUT           132
 
 /* dclk gates */
 #define DCLK_VOP               190
@@ -61,6 +70,7 @@
 #define ACLK_DMAC              194
 #define ACLK_PERI              210
 #define ACLK_VOP               211
+#define ACLK_GMAC              212
 
 /* pclk gates */
 #define PCLK_GPIO0             320
@@ -82,6 +92,7 @@
 #define PCLK_PERI              363
 #define PCLK_HDMI_CTRL         364
 #define PCLK_HDMI_PHY          365
+#define PCLK_GMAC              367
 
 /* hclk gates */
 #define HCLK_I2S0_8CH          442