Skip to content

Commit

Permalink
ARM: keystone: dts: fix netcp clocks and add names
Browse files Browse the repository at this point in the history
Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA
PLL clock and add clock names.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
  • Loading branch information
Murali Karicheri authored and Santosh Shilimkar committed Jan 19, 2017
1 parent b3511c9 commit 32a3444
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/keystone-k2e-netcp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ netcp: netcp@24000000 {
/* NetCP address range */
ranges = <0 0x24000000 0x1000000>;

clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
clock-names = "pa_clk", "ethss_clk", "cpts";
dma-coherent;

ti,navigator-dmas = <&dma_gbe 0>,
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ netcp: netcp@2000000 {
/* NetCP address range */
ranges = <0 0x2000000 0x100000>;

clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
clock-names = "pa_clk", "ethss_clk", "cpts";
dma-coherent;

ti,navigator-dmas = <&dma_gbe 22>,
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/keystone-k2l-netcp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ netcp: netcp@26000000 {
/* NetCP address range */
ranges = <0 0x26000000 0x1000000>;

clocks = <&clkosr>, <&papllclk>, <&clkcpgmac>, <&chipclk12>;
clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>, <&clkosr>;
clock-names = "pa_clk", "ethss_clk", "cpts", "osr_clk";
dma-coherent;

ti,navigator-dmas = <&dma_gbe 0>,
Expand Down

0 comments on commit 32a3444

Please sign in to comment.