[openwrt/openwrt] mediatek: mt7987: sync mt7987.dtsi with MediaTek SDK

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 25 08:48:49 PST 2025


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7af6029644a524709dd0485bebb8e8792e882488

commit 7af6029644a524709dd0485bebb8e8792e882488
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Nov 25 16:32:41 2025 +0000

    mediatek: mt7987: sync mt7987.dtsi with MediaTek SDK
    
    Make sure uart0 got all required clocks assigned.
    
    Fixes: 1c3b32c45a ("mediatek: fix uart clocks in MT7987 infracfg clock driver")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/dts/mt7987.dtsi | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7987.dtsi b/target/linux/mediatek/dts/mt7987.dtsi
index e9c7685315..ba13e9e200 100644
--- a/target/linux/mediatek/dts/mt7987.dtsi
+++ b/target/linux/mediatek/dts/mt7987.dtsi
@@ -679,9 +679,14 @@
 				     "mediatek,mt6577-uart";
 			reg = <0 0x11000000 0 0x100>;
 			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&topckgen CLK_TOP_UART_SEL>,
-				 <&infracfg CLK_INFRA_52M_UART0_CK>;
+			clocks = <&infracfg CLK_INFRA_52M_UART0_CK>,
+				 <&infracfg CLK_INFRA_66M_UART0_PCK>;
 			clock-names = "baud", "bus";
+			assigned-clocks = <&topckgen CLK_TOP_UART_SEL>,
+					  <&infracfg CLK_INFRA_MUX_UART0_SEL>;
+			assigned-clock-parents = <&topckgen
+						  CLK_TOP_CB_CKSQ_40M>,
+						  <&topckgen CLK_TOP_UART_SEL>;
 			status = "disabled";
 		};
 




More information about the lede-commits mailing list