]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: microchip: sama7d65: add missing flexcom nodes
authorNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 2 Jan 2026 17:01:34 +0000 (18:01 +0100)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Thu, 8 Jan 2026 07:32:49 +0000 (09:32 +0200)
Add nodes for usart, spi and i2c when missing to the
flexcom nodes.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20260102170135.70717-6-nicolas.ferre@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sama7d65.dtsi

index ad1464c7b8c640bc29a7460904d20dbc836a53fe..385d47657220687c487c7707fe1131eeec4abba4 100644 (file)
                                status = "disabled";
                        };
 
+                       spi0: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 34>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(6)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(5)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
                        i2c0: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;
                        #size-cells = <1>;
                        status = "disabled";
 
+                       uart1: serial@200 {
+                               compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
+                               reg = <0x200 0x200>;
+                               interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 35>;
+                               clock-names = "usart";
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(8)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(7)>;
+                               dma-names = "tx", "rx";
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
+                               atmel,fifo-size = <32>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
+                               status = "disabled";
+                       };
+
                        spi1: spi@400 {
                                compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
                                reg = <0x400 0x200>;
                                atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                status = "disabled";
                        };
+
+                       spi2: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 36>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(10)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(9)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
+                       i2c2: i2c@600 {
+                               compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
+                               reg = <0x600 0x200>;
+                               interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 36>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(10)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(9)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
                };
 
                flx3: flexcom@e182c000 {
                                status = "disabled";
                        };
 
+                       spi3: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(12)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(11)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
                        i2c3: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;
                                atmel,fifo-size = <32>;
                                status = "disabled";
                        };
+
+                       i2c4: i2c@600 {
+                               compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
+                               reg = <0x600 0x200>;
+                               interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(14)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(13)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
                };
 
                flx5: flexcom@e201c000 {
                        #size-cells = <1>;
                        status = "disabled";
 
+                       uart5: serial@200 {
+                               compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
+                               reg = <0x200 0x200>;
+                               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
+                               clock-names = "usart";
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(16)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(15)>;
+                               dma-names = "tx", "rx";
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
+                               atmel,fifo-size = <32>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
+                               status = "disabled";
+                       };
+
+                       spi5: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(16)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(15)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
                        i2c5: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;
                                atmel,fifo-size = <32>;
                                status = "disabled";
                        };
+
+                       spi6: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(17)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
+                       i2c6: i2c@600 {
+                               compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
+                               reg = <0x600 0x200>;
+                               interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(17)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
                };
 
                flx7: flexcom@e2024000 {
                                atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                status = "disabled";
                        };
+
+                       spi7: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(19)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
+                       i2c7: i2c@600 {
+                               compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
+                               reg = <0x600 0x200>;
+                               interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>,
+                                      <&dma1 AT91_XDMAC_DT_PERID(19)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
                };
 
                flx8: flexcom@e281c000 {
                        #size-cells = <1>;
                        status = "disabled";
 
+                       uart8: serial@200 {
+                               compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
+                               reg = <0x200 0x200>;
+                               interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
+                               clock-names = "usart";
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(21)>;
+                               dma-names = "tx", "rx";
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
+                               atmel,fifo-size = <32>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
+                               status = "disabled";
+                       };
+
+                       spi8: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(21)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
                        i2c8: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;
                        #size-cells = <1>;
                        status = "disabled";
 
+                       uart9: serial@200 {
+                               compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
+                               reg = <0x200 0x200>;
+                               interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
+                               clock-names = "usart";
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(23)>;
+                               dma-names = "tx", "rx";
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
+                               atmel,fifo-size = <32>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
+                               status = "disabled";
+                       };
+
+                       spi9: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(23)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
                        i2c9: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;
                        #size-cells = <1>;
                        status = "disabled";
 
+                       uart10: serial@200 {
+                               compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
+                               reg = <0x200 0x200>;
+                               interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
+                               clock-names = "usart";
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(25)>;
+                               dma-names = "tx", "rx";
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
+                               atmel,fifo-size = <32>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
+                               status = "disabled";
+                       };
+
+                       spi10: spi@400 {
+                               compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
+                               reg = <0x400 0x200>;
+                               interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
+                               clock-names = "spi_clk";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(25)>;
+                               dma-names = "tx", "rx";
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+
                        i2c10: i2c@600 {
                                compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
                                reg = <0x600 0x200>;