Skip to content

Commit c1bfa98

Browse files
Murali Karicheriolofj
authored andcommitted
ARM: dts: keystone: fix dt bindings to use post div register for mainpll
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>
1 parent a7dae15 commit c1bfa98

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

arch/arm/boot/dts/k2e-clocks.dtsi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ clocks {
1313
#clock-cells = <0>;
1414
compatible = "ti,keystone,main-pll-clock";
1515
clocks = <&refclksys>;
16-
reg = <0x02620350 4>, <0x02310110 4>;
17-
reg-names = "control", "multiplier";
18-
fixed-postdiv = <2>;
16+
reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>;
17+
reg-names = "control", "multiplier", "post-divider";
1918
};
2019

2120
papllclk: papllclk@2620358 {

arch/arm/boot/dts/k2hk-clocks.dtsi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ clocks {
2222
#clock-cells = <0>;
2323
compatible = "ti,keystone,main-pll-clock";
2424
clocks = <&refclksys>;
25-
reg = <0x02620350 4>, <0x02310110 4>;
26-
reg-names = "control", "multiplier";
27-
fixed-postdiv = <2>;
25+
reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>;
26+
reg-names = "control", "multiplier", "post-divider";
2827
};
2928

3029
papllclk: papllclk@2620358 {

arch/arm/boot/dts/k2l-clocks.dtsi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ clocks {
2222
#clock-cells = <0>;
2323
compatible = "ti,keystone,main-pll-clock";
2424
clocks = <&refclksys>;
25-
reg = <0x02620350 4>, <0x02310110 4>;
26-
reg-names = "control", "multiplier";
27-
fixed-postdiv = <2>;
25+
reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>;
26+
reg-names = "control", "multiplier", "post-divider";
2827
};
2928

3029
papllclk: papllclk@2620358 {

0 commit comments

Comments
 (0)