rk3036:clk:modify mac clk init
author张晴 <zhangqing@rock-chips.com>
Tue, 22 Jul 2014 01:32:37 +0000 (09:32 +0800)
committer张晴 <zhangqing@rock-chips.com>
Tue, 22 Jul 2014 01:32:37 +0000 (09:32 +0800)
arch/arm/boot/dts/rk3036-clocks.dtsi
arch/arm/boot/dts/rk3036.dtsi

index 95e06abf31777aae6b63d94e20e7cd865f233733..a65969c7b449d5e578bf349299b73a2cd7bf0f03 100755 (executable)
                                                #clock-cells = <0>;
                                                rockchip,clkops-idx =
                                                        <CLKOPS_RATE_MUX_DIV>;
+                                               #clock-init-cells = <1>;
                                        };
 
                                        clk_mac_ref_div: clk_mac_ref_div {
                                                <&dummy>,               <&dummy>,
                                                <&dclk_lcdc1>,          <&dummy>,
 
-                                               <&dummy>,                       <&dummy>,
+                                               <&dummy>,                       <&hclk_peri_pre>,
                                                <&dummy>,               <&dummy>,
 
                                                <&pclk_cpu_pre>,                <&dummy>,
                                                "reserved",             "reserved",
                                                "dclk_lcdc1",           "reserved",
 
-                                               "reserved",             "reserved",
+                                               "reserved",             "g_hclk_mac",
                                                "reserved",             "reserved",
 
                                                "g_pclk_hdmi",          "reserved",
index 33b47e4be7c6c7cc8076653121fefee2b4c6ae79..535ee42a2929d0d42bfe9052f8a0e8e005eaaf0d 100755 (executable)
                        <&hclk_peri_pre 75000000>, <&pclk_peri_pre 75000000>,
                        <&clk_gpu_pre 300000000>,        <&aclk_vio_pre 300000000>,
                        <&hclk_vio_pre 150000000>, <&aclk_vcodec_pre 300000000>,
-                       <&clk_hevc_core 200000000>, <&clk_mac_ref_div 50000000>;
+                       <&clk_hevc_core 200000000>, <&clk_mac_pll_div 50000000>,
+                       <&clk_mac_ref_div 50000000>;
        /*      rockchip,clocks-uboot-has-init =
                        <&aclk_vio1>;*/
        };