Skip to content

Commit d08fc1f

Browse files
noglitchclaudiubeznea
authored andcommitted
ARM: dts: microchip: sama7d65: add missing flexcom nodes
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>
1 parent a395da9 commit d08fc1f

1 file changed

Lines changed: 271 additions & 0 deletions

File tree

arch/arm/boot/dts/microchip/sama7d65.dtsi

Lines changed: 271 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,21 @@
419419
status = "disabled";
420420
};
421421

422+
spi0: spi@400 {
423+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
424+
reg = <0x400 0x200>;
425+
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
426+
clocks = <&pmc PMC_TYPE_PERIPHERAL 34>;
427+
clock-names = "spi_clk";
428+
#address-cells = <1>;
429+
#size-cells = <0>;
430+
dmas = <&dma1 AT91_XDMAC_DT_PERID(6)>,
431+
<&dma1 AT91_XDMAC_DT_PERID(5)>;
432+
dma-names = "tx", "rx";
433+
atmel,fifo-size = <32>;
434+
status = "disabled";
435+
};
436+
422437
i2c0: i2c@600 {
423438
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
424439
reg = <0x600 0x200>;
@@ -443,6 +458,22 @@
443458
#size-cells = <1>;
444459
status = "disabled";
445460

461+
uart1: serial@200 {
462+
compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
463+
reg = <0x200 0x200>;
464+
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
465+
clocks = <&pmc PMC_TYPE_PERIPHERAL 35>;
466+
clock-names = "usart";
467+
dmas = <&dma0 AT91_XDMAC_DT_PERID(8)>,
468+
<&dma0 AT91_XDMAC_DT_PERID(7)>;
469+
dma-names = "tx", "rx";
470+
atmel,use-dma-rx;
471+
atmel,use-dma-tx;
472+
atmel,fifo-size = <32>;
473+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
474+
status = "disabled";
475+
};
476+
446477
spi1: spi@400 {
447478
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
448479
reg = <0x400 0x200>;
@@ -497,6 +528,35 @@
497528
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
498529
status = "disabled";
499530
};
531+
532+
spi2: spi@400 {
533+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
534+
reg = <0x400 0x200>;
535+
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
536+
clocks = <&pmc PMC_TYPE_PERIPHERAL 36>;
537+
clock-names = "spi_clk";
538+
#address-cells = <1>;
539+
#size-cells = <0>;
540+
dmas = <&dma1 AT91_XDMAC_DT_PERID(10)>,
541+
<&dma1 AT91_XDMAC_DT_PERID(9)>;
542+
dma-names = "tx", "rx";
543+
atmel,fifo-size = <32>;
544+
status = "disabled";
545+
};
546+
547+
i2c2: i2c@600 {
548+
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
549+
reg = <0x600 0x200>;
550+
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
551+
clocks = <&pmc PMC_TYPE_PERIPHERAL 36>;
552+
#address-cells = <1>;
553+
#size-cells = <0>;
554+
dmas = <&dma1 AT91_XDMAC_DT_PERID(10)>,
555+
<&dma1 AT91_XDMAC_DT_PERID(9)>;
556+
dma-names = "tx", "rx";
557+
atmel,fifo-size = <32>;
558+
status = "disabled";
559+
};
500560
};
501561

502562
flx3: flexcom@e182c000 {
@@ -524,6 +584,21 @@
524584
status = "disabled";
525585
};
526586

587+
spi3: spi@400 {
588+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
589+
reg = <0x400 0x200>;
590+
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
591+
clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
592+
clock-names = "spi_clk";
593+
#address-cells = <1>;
594+
#size-cells = <0>;
595+
dmas = <&dma0 AT91_XDMAC_DT_PERID(12)>,
596+
<&dma0 AT91_XDMAC_DT_PERID(11)>;
597+
dma-names = "tx", "rx";
598+
atmel,fifo-size = <32>;
599+
status = "disabled";
600+
};
601+
527602
i2c3: i2c@600 {
528603
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
529604
reg = <0x600 0x200>;
@@ -579,6 +654,20 @@
579654
atmel,fifo-size = <32>;
580655
status = "disabled";
581656
};
657+
658+
i2c4: i2c@600 {
659+
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
660+
reg = <0x600 0x200>;
661+
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
662+
clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
663+
#address-cells = <1>;
664+
#size-cells = <0>;
665+
dmas = <&dma1 AT91_XDMAC_DT_PERID(14)>,
666+
<&dma1 AT91_XDMAC_DT_PERID(13)>;
667+
dma-names = "tx", "rx";
668+
atmel,fifo-size = <32>;
669+
status = "disabled";
670+
};
582671
};
583672

584673
flx5: flexcom@e201c000 {
@@ -590,6 +679,37 @@
590679
#size-cells = <1>;
591680
status = "disabled";
592681

682+
uart5: serial@200 {
683+
compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
684+
reg = <0x200 0x200>;
685+
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
686+
clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
687+
clock-names = "usart";
688+
dmas = <&dma0 AT91_XDMAC_DT_PERID(16)>,
689+
<&dma0 AT91_XDMAC_DT_PERID(15)>;
690+
dma-names = "tx", "rx";
691+
atmel,use-dma-rx;
692+
atmel,use-dma-tx;
693+
atmel,fifo-size = <32>;
694+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
695+
status = "disabled";
696+
};
697+
698+
spi5: spi@400 {
699+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
700+
reg = <0x400 0x200>;
701+
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
702+
clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
703+
clock-names = "spi_clk";
704+
#address-cells = <1>;
705+
#size-cells = <0>;
706+
dmas = <&dma0 AT91_XDMAC_DT_PERID(16)>,
707+
<&dma0 AT91_XDMAC_DT_PERID(15)>;
708+
dma-names = "tx", "rx";
709+
atmel,fifo-size = <32>;
710+
status = "disabled";
711+
};
712+
593713
i2c5: i2c@600 {
594714
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
595715
reg = <0x600 0x200>;
@@ -629,6 +749,35 @@
629749
atmel,fifo-size = <32>;
630750
status = "disabled";
631751
};
752+
753+
spi6: spi@400 {
754+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
755+
reg = <0x400 0x200>;
756+
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
757+
clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
758+
clock-names = "spi_clk";
759+
#address-cells = <1>;
760+
#size-cells = <0>;
761+
dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>,
762+
<&dma1 AT91_XDMAC_DT_PERID(17)>;
763+
dma-names = "tx", "rx";
764+
atmel,fifo-size = <32>;
765+
status = "disabled";
766+
};
767+
768+
i2c6: i2c@600 {
769+
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
770+
reg = <0x600 0x200>;
771+
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
772+
clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
773+
#address-cells = <1>;
774+
#size-cells = <0>;
775+
dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>,
776+
<&dma1 AT91_XDMAC_DT_PERID(17)>;
777+
dma-names = "tx", "rx";
778+
atmel,fifo-size = <32>;
779+
status = "disabled";
780+
};
632781
};
633782

634783
flx7: flexcom@e2024000 {
@@ -655,6 +804,35 @@
655804
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
656805
status = "disabled";
657806
};
807+
808+
spi7: spi@400 {
809+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
810+
reg = <0x400 0x200>;
811+
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
812+
clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
813+
clock-names = "spi_clk";
814+
#address-cells = <1>;
815+
#size-cells = <0>;
816+
dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>,
817+
<&dma1 AT91_XDMAC_DT_PERID(19)>;
818+
dma-names = "tx", "rx";
819+
atmel,fifo-size = <32>;
820+
status = "disabled";
821+
};
822+
823+
i2c7: i2c@600 {
824+
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
825+
reg = <0x600 0x200>;
826+
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
827+
clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
828+
#address-cells = <1>;
829+
#size-cells = <0>;
830+
dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>,
831+
<&dma1 AT91_XDMAC_DT_PERID(19)>;
832+
dma-names = "tx", "rx";
833+
atmel,fifo-size = <32>;
834+
status = "disabled";
835+
};
658836
};
659837

660838
flx8: flexcom@e281c000 {
@@ -666,6 +844,37 @@
666844
#size-cells = <1>;
667845
status = "disabled";
668846

847+
uart8: serial@200 {
848+
compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
849+
reg = <0x200 0x200>;
850+
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
851+
clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
852+
clock-names = "usart";
853+
dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>,
854+
<&dma0 AT91_XDMAC_DT_PERID(21)>;
855+
dma-names = "tx", "rx";
856+
atmel,use-dma-rx;
857+
atmel,use-dma-tx;
858+
atmel,fifo-size = <32>;
859+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
860+
status = "disabled";
861+
};
862+
863+
spi8: spi@400 {
864+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
865+
reg = <0x400 0x200>;
866+
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
867+
clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
868+
clock-names = "spi_clk";
869+
#address-cells = <1>;
870+
#size-cells = <0>;
871+
dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>,
872+
<&dma0 AT91_XDMAC_DT_PERID(21)>;
873+
dma-names = "tx", "rx";
874+
atmel,fifo-size = <32>;
875+
status = "disabled";
876+
};
877+
669878
i2c8: i2c@600 {
670879
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
671880
reg = <0x600 0x200>;
@@ -690,6 +899,37 @@
690899
#size-cells = <1>;
691900
status = "disabled";
692901

902+
uart9: serial@200 {
903+
compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
904+
reg = <0x200 0x200>;
905+
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
906+
clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
907+
clock-names = "usart";
908+
dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>,
909+
<&dma0 AT91_XDMAC_DT_PERID(23)>;
910+
dma-names = "tx", "rx";
911+
atmel,use-dma-rx;
912+
atmel,use-dma-tx;
913+
atmel,fifo-size = <32>;
914+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
915+
status = "disabled";
916+
};
917+
918+
spi9: spi@400 {
919+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
920+
reg = <0x400 0x200>;
921+
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
922+
clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
923+
clock-names = "spi_clk";
924+
#address-cells = <1>;
925+
#size-cells = <0>;
926+
dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>,
927+
<&dma0 AT91_XDMAC_DT_PERID(23)>;
928+
dma-names = "tx", "rx";
929+
atmel,fifo-size = <32>;
930+
status = "disabled";
931+
};
932+
693933
i2c9: i2c@600 {
694934
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
695935
reg = <0x600 0x200>;
@@ -714,6 +954,37 @@
714954
#size-cells = <1>;
715955
status = "disabled";
716956

957+
uart10: serial@200 {
958+
compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
959+
reg = <0x200 0x200>;
960+
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
961+
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
962+
clock-names = "usart";
963+
dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>,
964+
<&dma0 AT91_XDMAC_DT_PERID(25)>;
965+
dma-names = "tx", "rx";
966+
atmel,use-dma-rx;
967+
atmel,use-dma-tx;
968+
atmel,fifo-size = <32>;
969+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
970+
status = "disabled";
971+
};
972+
973+
spi10: spi@400 {
974+
compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi";
975+
reg = <0x400 0x200>;
976+
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
977+
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
978+
clock-names = "spi_clk";
979+
#address-cells = <1>;
980+
#size-cells = <0>;
981+
dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>,
982+
<&dma0 AT91_XDMAC_DT_PERID(25)>;
983+
dma-names = "tx", "rx";
984+
atmel,fifo-size = <32>;
985+
status = "disabled";
986+
};
987+
717988
i2c10: i2c@600 {
718989
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
719990
reg = <0x600 0x200>;

0 commit comments

Comments
 (0)