Skip to content

Commit

Permalink
ARM: dts: keystone: fix dt bindings to use post div register for mainpll
Browse files Browse the repository at this point in the history
All of the keystone devices have a separate register to hold post
divider value for main pll clock. Currently the fixed-postdiv
value used for k2hk/l/e SoCs works by sheer luck as u-boot happens to
use a value of 2 for this. Now that we have fixed this in the pll
clock driver change the dt bindings for the same.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Murali Karicheri authored and Olof Johansson committed Jul 31, 2015
1 parent a7dae15 commit c1bfa98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions arch/arm/boot/dts/k2e-clocks.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ clocks {
#clock-cells = <0>;
compatible = "ti,keystone,main-pll-clock";
clocks = <&refclksys>;
reg = <0x02620350 4>, <0x02310110 4>;
reg-names = "control", "multiplier";
fixed-postdiv = <2>;
reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>;
reg-names = "control", "multiplier", "post-divider";
};

papllclk: papllclk@2620358 {
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/boot/dts/k2hk-clocks.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ clocks {
#clock-cells = <0>;
compatible = "ti,keystone,main-pll-clock";
clocks = <&refclksys>;
reg = <0x02620350 4>, <0x02310110 4>;
reg-names = "control", "multiplier";
fixed-postdiv = <2>;
reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>;
reg-names = "control", "multiplier", "post-divider";
};

papllclk: papllclk@2620358 {
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/boot/dts/k2l-clocks.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ clocks {
#clock-cells = <0>;
compatible = "ti,keystone,main-pll-clock";
clocks = <&refclksys>;
reg = <0x02620350 4>, <0x02310110 4>;
reg-names = "control", "multiplier";
fixed-postdiv = <2>;
reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>;
reg-names = "control", "multiplier", "post-divider";
};

papllclk: papllclk@2620358 {
Expand Down

0 comments on commit c1bfa98

Please sign in to comment.