Commit d08fc1f5 authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Claudiu Beznea
Browse files

ARM: dts: microchip: sama7d65: add missing flexcom nodes



Add nodes for usart, spi and i2c when missing to the
flexcom nodes.

Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20260102170135.70717-6-nicolas.ferre@microchip.com


Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
parent a395da99
Loading
Loading
Loading
Loading
+271 −0
Original line number Diff line number Diff line
@@ -419,6 +419,21 @@ uart0: serial@200 {
				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>;
@@ -443,6 +458,22 @@ flx1: flexcom@e1824000 {
			#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>;
@@ -497,6 +528,35 @@ uart2: serial@200 {
				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 {
@@ -524,6 +584,21 @@ uart3: serial@200 {
				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>;
@@ -579,6 +654,20 @@ spi4: spi@400 {
				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 {
@@ -590,6 +679,37 @@ 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>;
@@ -629,6 +749,35 @@ uart6: serial@200 {
				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 {
@@ -655,6 +804,35 @@ uart7: serial@200 {
				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 {
@@ -666,6 +844,37 @@ 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>;
@@ -690,6 +899,37 @@ flx9: flexcom@e2820000 {
			#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>;
@@ -714,6 +954,37 @@ flx10: flexcom@e2824000 {
			#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>;