Skip to content

Commit c17e937

Browse files
committed
ARM: dts: lpc32xx: set default clock rate of HCLK PLL
Probably most of NXP LPC32xx boards have 13MHz main oscillator and therefore for HCLK PLL and ARM core clock rate default hardware setting is 16 * 13MHz = 208MHz, however a user may vary HCLK PLL/ARM core rate from 156MHz to about 266MHz for 13MHz clock source. The change explicitly defines HCLK PLL output rate to default 208MHz to overwrite any settings done by a bootloader, if needed it can be redefined in a board DTS file. Acked-by: Sylvain Lemieux <[email protected]> Signed-off-by: Vladimir Zapolskiy <[email protected]>
1 parent f55532a commit c17e937

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm/boot/dts/lpc32xx.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@
294294

295295
clocks = <&xtal_32k>, <&xtal>;
296296
clock-names = "xtal_32k", "xtal";
297+
298+
assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>;
299+
assigned-clock-rates = <208000000>;
297300
};
298301
};
299302

0 commit comments

Comments
 (0)