]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7981: add missing clock for spi1 node
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 2 Aug 2024 13:53:06 +0000 (15:53 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:13:13 +0000 (16:13 -0600)
Add missing clock for spi1 node. Clocks taken from upstream clock
definition and clock mux.

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

index 131adc00a56509065d828ea4999a26c7cf8904ed..d80eceb8d4c7d3c16d374fc5b551f909062b858a 100644 (file)
                compatible = "mediatek,ipm-spi";
                reg = <0x1100b000 0x100>;
                interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&infracfg_ao CK_INFRA_SPI1_CK>,
+                        <&topckgen CK_TOP_SPIM_MST_SEL>;
+               assigned-clocks = <&topckgen CK_TOP_SPIM_MST_SEL>,
+                                 <&infracfg CK_INFRA_SPI1_SEL>;
+               assigned-clock-parents = <&topckgen CK_TOP_CB_M_D2>,
+                                        <&topckgen CK_INFRA_ISPI1>;
+               clock-names = "sel-clk", "spi-clk";
                status = "disabled";
        };