dt-bindings: serial: mediatek,uart: add MT7988
Subsystems (3)
PATCH 1/2 dt-bindings: serial: mediatek,uart: add MT7988
From: Rafał Miłecki <[email protected]>
Add compatible string for serial on MT7988 SoC.
--- Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/mediatek,uart.yaml +1 -0
@@ -37,6 +37,7 @@ properties: - mediatek,mt7623-uart - mediatek,mt7629-uart - mediatek,mt7986-uart + - mediatek,mt7988-uart - mediatek,mt8127-uart - mediatek,mt8135-uart - mediatek,mt8173-uart
Signature · 1 line
2.35.3
PATCH 2/2 arm64: dts: mediatek: mt7988: add UART controllers
From: Rafał Miłecki <[email protected]>
MT7988 has three on-SoC UART controllers that support M16C450 and M16550A modes.
--- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 35 ++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt7988a.dtsi +34 -1
@@ -86,7 +86,7 @@ infracfg: clock-controller@10001000 { #clock-cells = <1>; }; - clock-controller@1001b000 { + topckgen: clock-controller@1001b000 { compatible = "mediatek,mt7988-topckgen", "syscon"; reg = <0 0x1001b000 0 0x1000>; #clock-cells = <1>;
@@ -124,6 +124,39 @@ pwm@10048000 { status = "disabled"; }; + serial@11000000 { + compatible = "mediatek,mt7988-uart", "mediatek,mt6577-uart"; + reg = <0 0x11000000 0 0x100>; + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uart", "wakeup"; + clocks = <&topckgen CLK_TOP_UART_SEL>, + <&infracfg CLK_INFRA_52M_UART0_CK>; + clock-names = "baud", "bus"; + status = "disabled"; + }; + + serial@11000100 { + compatible = "mediatek,mt7988-uart", "mediatek,mt6577-uart"; + reg = <0 0x11000100 0 0x100>; + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uart", "wakeup"; + clocks = <&topckgen CLK_TOP_UART_SEL>, + <&infracfg CLK_INFRA_52M_UART1_CK>; + clock-names = "baud", "bus"; + status = "disabled"; + }; + + serial@11000200 { + compatible = "mediatek,mt7988-uart", "mediatek,mt6577-uart"; + reg = <0 0x11000200 0 0x100>; + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uart", "wakeup"; + clocks = <&topckgen CLK_TOP_UART_SEL>, + <&infracfg CLK_INFRA_52M_UART2_CK>; + clock-names = "baud", "bus"; + status = "disabled"; + }; + i2c@11003000 { compatible = "mediatek,mt7981-i2c"; reg = <0 0x11003000 0 0x1000>,
Signature · 1 line
2.35.3
Re: [PATCH 2/2] arm64: dts: mediatek: mt7988: add UART controllers
Il 05/06/24 10:54, Rafał Miłecki ha scritto:
Quoted 6 lines
From: Rafał Miłecki <[email protected]>
MT7988 has three on-SoC UART controllers that support M16C450 and M16550A modes.
Signed-off-by Rafał Miłecki <[email protected]>
Il 05/06/24 10:54, Rafał Miłecki ha scritto:
Quoted 5 lines
From: Rafał Miłecki <[email protected]>
Add compatible string for serial on MT7988 SoC.
Signed-off-by Rafał Miłecki <[email protected]>
Quoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Add compatible string for serial on MT7988 SoC.
Signed-off-by Rafał Miłecki <[email protected]>