]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: microchip: sama7d65: add uart3 definition for flexcom3 peripheral
authorNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 5 Sep 2025 09:20:44 +0000 (11:20 +0200)
committerClaudiu Beznea <nicolas.ferre@microchip.com>
Sat, 30 Aug 2025 08:38:55 +0000 (11:38 +0300)
Add the definition of uart3 at the side of i2c3 for flexcom3.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Ryan Wanner <ryan.wanner@microchip.com>
Link: https://lore.kernel.org/r/20250905092044.25429-1-nicolas.ferre@microchip.com
[claudiu.beznea: moved atmel,usart-mode at the end of the node to comply
 with dts coding style]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sama7d65.dtsi

index 84bac1d294213dfb1f3feec54f130a84c87cebe2..e53e2dd6d530c023c4c66489a50ae2b104cd6e00 100644 (file)
                        #size-cells = <1>;
                        status = "disabled";
 
+                       uart3: serial@200 {
+                               compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
+                               reg = <0x200 0x200>;
+                               interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
+                               clock-names = "usart";
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(12)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(11)>;
+                               dma-names = "tx", "rx";
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
+                               status = "disabled";
+                       };
+
                        i2c3: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;