]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm64: dts: mt7622: turn uart0 clock to real ones
authorSean Wang <sean.wang@mediatek.com>
Sat, 17 Feb 2018 19:54:42 +0000 (03:54 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sun, 11 Mar 2018 19:28:33 +0000 (20:28 +0100)
This patch also cleans up two oscillators that provide clocks for MT7623.
Switch the uart clocks to the real ones while at it.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt7622.dtsi

index b4e5d49f919309f55a9ff7558312367758a1cb94..10ad69c02da83e9e0d46309eba986fe2dadb8525 100644 (file)
                };
        };
 
-       uart_clk: dummy25m {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <25000000>;
-       };
-
-       bus_clk: dummy280m {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <280000000>;
-       };
-
        pwrap_clk: dummy40m {
                compatible = "fixed-clock";
                clock-frequency = <40000000>;
                             "mediatek,mt6577-uart";
                reg = <0 0x11002000 0 0x400>;
                interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
-               clocks = <&uart_clk>, <&bus_clk>;
+               clocks = <&topckgen CLK_TOP_UART_SEL>,
+                        <&pericfg CLK_PERI_UART1_PD>;
                clock-names = "baud", "bus";
                status = "disabled";
        };