UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Jun 2016 11:30:36 +0000 (19:30 +0800)
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>
(cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
v4.8-shared/clkids commit 9ff59360b863706b50cbcd7ffad9287d67254063)

Change-Id: Ib6f5f2a0ccd19a8b71c384abddacadbd4da291bb
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
include/dt-bindings/clock/rk3228-cru.h

index c992f3e50e251d2cd34acff77475283ff3128a33..b27e2b1a65e3cb66424c0a90ce69fb9e84a21694 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