From 37476e7eae57fc3f1512f8c0c34edb23db11cc4c Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Fri, 2 Aug 2024 15:53:06 +0200 Subject: [PATCH] clk: mediatek: mt7981: add missing clock for spi1 node Add missing clock for spi1 node. Clocks taken from upstream clock definition and clock mux. Signed-off-by: Christian Marangi --- arch/arm/dts/mt7981.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/mt7981.dtsi b/arch/arm/dts/mt7981.dtsi index 131adc00a5..d80eceb8d4 100644 --- a/arch/arm/dts/mt7981.dtsi +++ b/arch/arm/dts/mt7981.dtsi @@ -280,6 +280,13 @@ compatible = "mediatek,ipm-spi"; reg = <0x1100b000 0x100>; interrupts = ; + 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"; }; -- 2.39.5