]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7981: fix wrong clock definition for spi2
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 2 Aug 2024 13:53:05 +0000 (15:53 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:13:13 +0000 (16:13 -0600)
Fix wrong clock definition for spi2 node as they reference spi0 clock
instead of spi2.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
arch/arm/dts/mt7981.dtsi

index 1056667ba651484ce38a57600891bddbf84d5755..131adc00a56509065d828ea4999a26c7cf8904ed 100644 (file)
        spi2: spi@11009000 {
                compatible = "mediatek,ipm-spi";
                reg = <0x11009000 0x100>;
-               clocks = <&infracfg_ao CK_INFRA_SPI0_CK>,
+               clocks = <&infracfg_ao CK_INFRA_SPI2_CK>,
                         <&topckgen CK_TOP_SPI_SEL>;
                assigned-clocks = <&topckgen CK_TOP_SPI_SEL>,
-                                 <&infracfg CK_INFRA_SPI0_SEL>;
+                                 <&infracfg CK_INFRA_SPI2_SEL>;
                assigned-clock-parents = <&topckgen CK_TOP_CB_M_D2>,
                                         <&topckgen CK_INFRA_ISPI0>;
                clock-names = "sel-clk", "spi-clk";