]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx93: add a per clock for LPUART1
authorAlice Guo <alice.guo@nxp.com>
Tue, 25 Jul 2023 08:08:54 +0000 (10:08 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 12:02:38 +0000 (14:02 +0200)
When CLK is enabled, get_lpuart_clk_rate() needs to get a per clock of
lpuart, so that add a per clock for lpuart1.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
arch/arm/dts/imx93.dtsi

index 13cf32d4b27739bd121fc255cdb894241909fbb7..90de635481f96166d64bb2308296d2d321b9ec97 100644 (file)
                                compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x44380000 0x1000>;
                                interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&clk IMX93_CLK_LPUART1_GATE>;
-                               clock-names = "ipg";
+                               clocks = <&clk IMX93_CLK_LPUART1_GATE>, <&clk IMX93_CLK_LPUART1_GATE>;
+                               clock-names = "ipg", "per";
                                status = "disabled";
                        };