dt-bindings: serial: mediatek,uart: add MT7981
Subsystems (3)
PATCH 1/2 dt-bindings: serial: mediatek,uart: add MT7981
From: Rafał Miłecki <[email protected]>
Add compatible string for serial on MT7981 SoC.
Signed-off-by Rafał Miłecki <[email protected]>
--- Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/mediatek,uart.yaml +1 -0
@@ -36,6 +36,7 @@ properties: - mediatek,mt7622-uart - mediatek,mt7623-uart - mediatek,mt7629-uart + - mediatek,mt7981-uart - mediatek,mt7986-uart - mediatek,mt7988-uart - mediatek,mt8127-uart
Signature · 1 line
2.35.3
PATCH 2/2 arm64: dts: mediatek: mt7981: add UART controllers
From: Rafał Miłecki <[email protected]>
MT7981 has three on-SoC UART controllers.
Signed-off-by Rafał Miłecki <[email protected]>
--- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+)
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +33 -0
@@ -94,6 +94,39 @@ pwm@10048000 { #pwm-cells = <2>; }; + serial@11002000 { + compatible = "mediatek,mt7981-uart", "mediatek,mt6577-uart"; + reg = <0 0x11002000 0 0x100>; + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uart", "wakeup"; + clocks = <&infracfg CLK_INFRA_UART0_SEL>, + <&infracfg CLK_INFRA_UART0_CK>; + clock-names = "baud", "bus"; + status = "disabled"; + }; + + serial@11003000 { + compatible = "mediatek,mt7981-uart", "mediatek,mt6577-uart"; + reg = <0 0x11003000 0 0x100>; + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uart", "wakeup"; + clocks = <&infracfg CLK_INFRA_UART1_SEL>, + <&infracfg CLK_INFRA_UART1_CK>; + clock-names = "baud", "bus"; + status = "disabled"; + }; + + serial@11004000 { + compatible = "mediatek,mt7981-uart", "mediatek,mt6577-uart"; + reg = <0 0x11004000 0 0x100>; + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uart", "wakeup"; + clocks = <&infracfg CLK_INFRA_UART2_SEL>, + <&infracfg CLK_INFRA_UART2_CK>; + clock-names = "baud", "bus"; + status = "disabled"; + }; + i2c@11007000 { compatible = "mediatek,mt7981-i2c"; reg = <0 0x11007000 0 0x1000>,
Signature · 1 line
2.35.3
Re: [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers
Il 27/07/24 14:14, Rafał Miłecki ha scritto:
Quoted 5 lines
From: Rafał Miłecki <[email protected]>
MT7981 has three on-SoC UART controllers.
Signed-off-by Rafał Miłecki <[email protected]>
Reviewed-by AngeloGioacchino Del Regno <[email protected]>
Quoted 4 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Add compatible string for serial on MT7981 SoC.
Best regards,
Krzysztof