]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: dra7xx-clocks: Add divider table to optfclk_pciephy_div clock
authorKeerthy <j-keerthy@ti.com>
Mon, 14 Jul 2014 10:42:16 +0000 (16:12 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 15 Jul 2014 07:16:09 +0000 (00:16 -0700)
Add divider table to optfclk_pciephy_div clock. The 8th bit of
CM_CLKMODE_APLL_PCIE can be programmed to either 0x0 or 0x1
based on if the divider value is 0x2 or 0x1.

Figure 26-21. PCIe PHY Clock Generator Overview in vE of DRA7xx ES1.0 shows the
block diagram of Clock Generator Subsystem of PCIe PHY module. The divider
value if '1' should be programmed in order to get the correct
PCIE_PHY_DIV_GCLK frequency (2.5GHz).

Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7xx-clocks.dtsi

index b03cfe49d22be4bce3809d606ccec17658f4d07c..7148e7c753979d1869df8829ce8e8cfd1b30bc41 100644 (file)
                clocks = <&apll_pcie_ck>;
                #clock-cells = <0>;
                reg = <0x021c>;
+               ti,dividers = <2>, <1>;
                ti,bit-shift = <8>;
                ti,max-div = <2>;
        };