Skip to content

Commit f84d83d

Browse files
VDavid003krzk
authored andcommitted
arm64: dts: exynos: Correct UART clocks on Exynos7885
The clocks in the serial UART nodes were swapped by mistake on Exynos7885. This only worked correctly because of a mistake in the clock driver which has been fixed. With the fixed clock driver in place, the baudrate of the UARTs get miscalculated. Fix this by correcting the clocks in the dtsi. Fixes: 0687401 ("arm64: dts: exynos: Add initial device tree support for Exynos7885 SoC") Signed-off-by: David Virag <virag.david003@gmail.com> Link: https://lore.kernel.org/r/20220526055840.45209-3-virag.david003@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent f2906aa commit f84d83d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/arm64/boot/dts/exynos/exynos7885.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@
280280
interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
281281
pinctrl-names = "default";
282282
pinctrl-0 = <&uart0_bus>;
283-
clocks = <&cmu_peri CLK_GOUT_UART0_EXT_UCLK>,
284-
<&cmu_peri CLK_GOUT_UART0_PCLK>;
283+
clocks = <&cmu_peri CLK_GOUT_UART0_PCLK>,
284+
<&cmu_peri CLK_GOUT_UART0_EXT_UCLK>;
285285
clock-names = "uart", "clk_uart_baud0";
286286
samsung,uart-fifosize = <64>;
287287
status = "disabled";
@@ -293,8 +293,8 @@
293293
interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
294294
pinctrl-names = "default";
295295
pinctrl-0 = <&uart1_bus>;
296-
clocks = <&cmu_peri CLK_GOUT_UART1_EXT_UCLK>,
297-
<&cmu_peri CLK_GOUT_UART1_PCLK>;
296+
clocks = <&cmu_peri CLK_GOUT_UART1_PCLK>,
297+
<&cmu_peri CLK_GOUT_UART1_EXT_UCLK>;
298298
clock-names = "uart", "clk_uart_baud0";
299299
samsung,uart-fifosize = <256>;
300300
status = "disabled";
@@ -306,8 +306,8 @@
306306
interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>;
307307
pinctrl-names = "default";
308308
pinctrl-0 = <&uart2_bus>;
309-
clocks = <&cmu_peri CLK_GOUT_UART2_EXT_UCLK>,
310-
<&cmu_peri CLK_GOUT_UART2_PCLK>;
309+
clocks = <&cmu_peri CLK_GOUT_UART2_PCLK>,
310+
<&cmu_peri CLK_GOUT_UART2_EXT_UCLK>;
311311
clock-names = "uart", "clk_uart_baud0";
312312
samsung,uart-fifosize = <256>;
313313
status = "disabled";

0 commit comments

Comments
 (0)