ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate
authorRoger Quadros <rogerq@ti.com>
Mon, 5 May 2014 09:54:43 +0000 (12:54 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 14 May 2014 21:39:34 +0000 (14:39 -0700)
This clock gate description is missing in the older Reference manuals.
It is present on the SoC to provide 960MHz reference clock to the
internal USB PHYs.

Reference: DRA75x_DRA74x_ES1.1_NDA_TRM_vO.pdf, pg. 900,
Table 3-812. CM_COREAON_L3INIT_60M_GFCLK_CLKCTRL

Use l3init_960m_gfclk as parent of usb_otg_ss1_refclk960m and
usb_otg_ss2_refclk960m.

CC: BenoƮt Cousson <bcousson@baylibre.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7xx-clocks.dtsi

index cfb8fc753f5037087d7bbdfa6744d1a8fc283ec9..c7676871d9c0240032261ed40f0db7c431a583d8 100644 (file)
                ti,dividers = <1>, <8>;
        };
 
+       l3init_960m_gfclk: l3init_960m_gfclk {
+               #clock-cells = <0>;
+               compatible = "ti,gate-clock";
+               clocks = <&dpll_usb_clkdcoldo>;
+               ti,bit-shift = <8>;
+               reg = <0x06c0>;
+       };
+
        dss_32khz_clk: dss_32khz_clk {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
        usb_otg_ss1_refclk960m: usb_otg_ss1_refclk960m {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
-               clocks = <&dpll_usb_clkdcoldo>;
+               clocks = <&l3init_960m_gfclk>;
                ti,bit-shift = <8>;
                reg = <0x13f0>;
        };
        usb_otg_ss2_refclk960m: usb_otg_ss2_refclk960m {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
-               clocks = <&dpll_usb_clkdcoldo>;
+               clocks = <&l3init_960m_gfclk>;
                ti,bit-shift = <8>;
                reg = <0x1340>;
        };