* [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981
@ 2024-07-27 12:14 Rafał Miłecki
2024-07-27 12:14 ` [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers Rafał Miłecki
2024-07-28 10:31 ` [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981 Krzysztof Kozlowski
0 siblings, 2 replies; 4+ messages in thread
From: Rafał Miłecki @ 2024-07-27 12:14 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno
Cc: linux-serial, devicetree, linux-arm-kernel, linux-mediatek,
John Crispin, Daniel Golle, Rafał Miłecki
From: Rafał Miłecki <rafal@milecki.pl>
Add compatible string for serial on MT7981 SoC.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
index ff61ffdcad1d..1b02f0b197ff 100644
--- a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
@@ -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
--
2.35.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers
2024-07-27 12:14 [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981 Rafał Miłecki
@ 2024-07-27 12:14 ` Rafał Miłecki
2024-07-30 9:11 ` AngeloGioacchino Del Regno
2024-07-28 10:31 ` [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981 Krzysztof Kozlowski
1 sibling, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2024-07-27 12:14 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno
Cc: linux-serial, devicetree, linux-arm-kernel, linux-mediatek,
John Crispin, Daniel Golle, Rafał Miłecki
From: Rafał Miłecki <rafal@milecki.pl>
MT7981 has three on-SoC UART controllers.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 33 +++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
index b096009ef99c..5cbea9cd411f 100644
--- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
@@ -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>,
--
2.35.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers
2024-07-27 12:14 ` [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers Rafał Miłecki
@ 2024-07-30 9:11 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-07-30 9:11 UTC (permalink / raw)
To: Rafał Miłecki, Greg Kroah-Hartman, Jiri Slaby,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger
Cc: linux-serial, devicetree, linux-arm-kernel, linux-mediatek,
John Crispin, Daniel Golle, Rafał Miłecki
Il 27/07/24 14:14, Rafał Miłecki ha scritto:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> MT7981 has three on-SoC UART controllers.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981
2024-07-27 12:14 [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981 Rafał Miłecki
2024-07-27 12:14 ` [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers Rafał Miłecki
@ 2024-07-28 10:31 ` Krzysztof Kozlowski
1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-28 10:31 UTC (permalink / raw)
To: Rafał Miłecki, Greg Kroah-Hartman, Jiri Slaby,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
AngeloGioacchino Del Regno
Cc: linux-serial, devicetree, linux-arm-kernel, linux-mediatek,
John Crispin, Daniel Golle, Rafał Miłecki
On 27/07/2024 14:14, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> Add compatible string for serial on MT7981 SoC.
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-30 9:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-27 12:14 [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981 Rafał Miłecki
2024-07-27 12:14 ` [PATCH 2/2] arm64: dts: mediatek: mt7981: add UART controllers Rafał Miłecki
2024-07-30 9:11 ` AngeloGioacchino Del Regno
2024-07-28 10:31 ` [PATCH 1/2] dt-bindings: serial: mediatek,uart: add MT7981 Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).