]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson: g12a: set uart_ao clocks
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 14 May 2019 09:45:37 +0000 (11:45 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 21 May 2019 17:58:41 +0000 (10:58 -0700)
Now that the AO clock controller is available, make the uarts of the
always-on domain claim the appropriate peripheral clock.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi

index b2f08fc96568baaa59127fcee95c44a81f7cd28a..ca01064a771a6b04f74cd98cc52aa59e16ed06e7 100644 (file)
@@ -708,7 +708,7 @@ uart_AO: serial@3000 {
                                             "amlogic,meson-ao-uart";
                                reg = <0x0 0x3000 0x0 0x18>;
                                interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
-                               clocks = <&xtal>, <&xtal>, <&xtal>;
+                               clocks = <&xtal>, <&clkc_AO CLKID_AO_UART>, <&xtal>;
                                clock-names = "xtal", "pclk", "baud";
                                status = "disabled";
                        };
@@ -718,7 +718,7 @@ uart_AO_B: serial@4000 {
                                             "amlogic,meson-ao-uart";
                                reg = <0x0 0x4000 0x0 0x18>;
                                interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
-                               clocks = <&xtal>, <&xtal>, <&xtal>;
+                               clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
                                clock-names = "xtal", "pclk", "baud";
                                status = "disabled";
                        };