Fix wrong clock definition for spi2 node as they reference spi0 clock
instead of spi2.

Signed-off-by: Christian Marangi <ansuels...@gmail.com>
---
 arch/arm/dts/mt7981.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/mt7981.dtsi b/arch/arm/dts/mt7981.dtsi
index 1056667ba65..131adc00a56 100644
--- a/arch/arm/dts/mt7981.dtsi
+++ b/arch/arm/dts/mt7981.dtsi
@@ -286,10 +286,10 @@
        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";
-- 
2.45.2

Reply via email to