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 499b9ce3bee1a11e1019a5df7c9267f05b067bca..bb1c7f43b5db4b2d251c5bd3ea508b2409e2e1e4 100644 (file)
                        clock-output-names = "oscclk";
                };
 
-               /*
-                * 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";
                        };