arm64: dts: exynos: switch USI clocks in ExynosAutov9
authorChanho Park <chanho61.park@samsung.com>
Wed, 4 May 2022 07:51:53 +0000 (16:51 +0900)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 5 May 2022 07:07:07 +0000 (09:07 +0200)
Use CMU clock nodes instead of dummy fixed-rate-clock.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/r/20220504075154.58819-12-chanho61.park@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynosautov9.dtsi

index 499b9ce..bb1c7f4 100644 (file)
                };
 
                /*
-                * Keep the stub clock for serial driver, until proper clock
-                * driver is implemented.
-                */
-               uart_clock: uart-clock {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       clock-frequency = <133250000>;
-                       clock-output-names = "uart";
-               };
-
-               /*
                 * Keep the stub clock for ufs driver, until proper clock
                 * driver is implemented.
                 */
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;
-                       clocks = <&uart_clock>, <&uart_clock>;
+                       clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
+                                <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
                        clock-names = "pclk", "ipclk";
                        status = "disabled";
 
                                interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&uart0_bus_dual>;
-                               clocks = <&uart_clock>, <&uart_clock>;
+                               clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
+                                        <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
                                clock-names = "uart", "clk_uart_baud0";
                                status = "disabled";
                        };