Skip to content

Commit f586919

Browse files
author
Tero Kristo
committed
ARM: dts: omap3: fix DPLL4 M4 divider max value
The maximum divider value for DPLL4 M4 divider appears wrong. For most OMAP3 family SoCs this is 16, but it is defined as 32, which is maybe only valid for omap36xx. To avoid any overflows in trying to write this register, set the max to 16 for all omap3 family, except omap36xx. For omap36xx the maximum is set to 31, as it appears value 32 is not working properly. Signed-off-by: Tero Kristo <[email protected]> Tested-by: Adam Ford <[email protected]> Acked-by: Tony Lindgren <[email protected]>
1 parent 8ffea6e commit f586919

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,7 @@
105105
<&mcbsp4_ick>, <&uart4_fck>;
106106
};
107107
};
108+
109+
&dpll4_m4_ck {
110+
ti,max-div = <31>;
111+
};

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
#clock-cells = <0>;
417417
compatible = "ti,divider-clock";
418418
clocks = <&dpll4_ck>;
419-
ti,max-div = <32>;
419+
ti,max-div = <16>;
420420
reg = <0x0e40>;
421421
ti,index-starts-at-one;
422422
};

0 commit comments

Comments
 (0)