]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx93_evk: defconfig: enable clock driver
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Tue, 25 Jul 2023 08:08:56 +0000 (10:08 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 14:25:10 +0000 (16:25 +0200)
Add clocks nodes in u-boot.dtsi file.
Remove init_uart_clk() call.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
arch/arm/dts/imx93-11x11-evk-u-boot.dtsi
board/freescale/imx93_evk/imx93_evk.c
configs/imx93_11x11_evk_defconfig

index 5b465e2dbd9d8c4b8bf29cdd433923f286313bad..93b4d91e4c39e3f6a19dcdf5e952a94e904b0d31 100644 (file)
        bootph-pre-ram;
        status = "okay";
 };
+
+&clk {
+       bootph-all;
+       bootph-pre-ram;
+       /delete-property/ assigned-clocks;
+       /delete-property/ assigned-clock-rates;
+       /delete-property/ assigned-clock-parents;
+};
+
+&osc_32k {
+       bootph-all;
+       bootph-pre-ram;
+};
+
+&osc_24m {
+       bootph-all;
+       bootph-pre-ram;
+};
+
+&clk_ext1 {
+       bootph-all;
+       bootph-pre-ram;
+};
index e73a498733be1c911295047694548d8db5db71dd..f4297f8fd4d413f68bf5896505514fc86353eeb8 100644 (file)
@@ -33,8 +33,6 @@ int board_early_init_f(void)
 {
        imx_iomux_v3_setup_multiple_pads(uart_pads, ARRAY_SIZE(uart_pads));
 
-       init_uart_clk(LPUART1_CLK_ROOT);
-
        return 0;
 }
 
index 3b5c7bd65a42e399acb2836618d9512b74f7621d..7c8fd0c665adc2945e2bd2f2ee203505c1a2f5f2 100644 (file)
@@ -82,6 +82,8 @@ CONFIG_SPL_DM=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_ADC_IMX93=y
+CONFIG_SPL_CLK_IMX93=y
+CONFIG_CLK_IMX93=y
 CONFIG_CPU=y
 CONFIG_CPU_IMX=y
 CONFIG_IMX_RGPIO2P=y