]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: actions: s700: Set UART clock references from CMU
authorSaravanan Sekar <sravanhome@gmail.com>
Thu, 19 Jul 2018 09:06:49 +0000 (11:06 +0200)
committerAndreas Färber <afaerber@suse.de>
Sun, 30 Sep 2018 16:57:23 +0000 (18:57 +0200)
Remove fixed clock in Cubieboard 7 and use Clock Management Unit clocks
for all UART nodes in Actions Semi S700 SoC.

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[AF: Moved/added to SoC]
Signed-off-by: Andreas Färber <afaerber@suse.de>
arch/arm64/boot/dts/actions/s700-cubieboard7.dts
arch/arm64/boot/dts/actions/s700.dtsi

index ef79d7905f44639b255a65f8a7dc3c290fb90baf..28f3f4a0f7f061d9d2a8856ce902b81f17a00eb5 100644 (file)
                device_type = "memory";
                reg = <0x1 0xe0000000 0x0 0x0>;
        };
-
-       uart3_clk: uart3-clk {
-               compatible = "fixed-clock";
-               clock-frequency = <921600>;
-               #clock-cells = <0>;
-       };
 };
 
 &timer {
@@ -42,5 +36,4 @@
 
 &uart3 {
        status = "okay";
-       clocks = <&uart3_clk>;
 };
index 0b04c55822130ff0a09908632b0722d351cbb9df..192c7b39c8c1da52d38ea4a3266bd400cfc50ac3 100644 (file)
                uart0: serial@e0120000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe0120000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART0>;
                        interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
                uart1: serial@e0122000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe0122000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART1>;
                        interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
                uart2: serial@e0124000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe0124000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART2>;
                        interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
                uart3: serial@e0126000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe0126000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART3>;
                        interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
                uart4: serial@e0128000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe0128000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART4>;
                        interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
                uart5: serial@e012a000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe012a000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART5>;
                        interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
                uart6: serial@e012c000 {
                        compatible = "actions,s900-uart", "actions,owl-uart";
                        reg = <0x0 0xe012c000 0x0 0x2000>;
+                       clocks = <&cmu CLK_UART6>;
                        interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };