ARM: dts: microchip: sama7g5: Add flexcom 10 node
authorMihai Sain <mihai.sain@microchip.com>
Thu, 15 Feb 2024 09:15:23 +0000 (11:15 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Fri, 23 Feb 2024 19:51:47 +0000 (21:51 +0200)
Add flexcom 10 node for usage on the SAMA7G54 Curiosity board.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20240215091524.14732-3-mihai.sain@microchip.com
[claudiu.beznea: align dmas to the opening '<']
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sama7g5.dtsi

index 269e0a3ca269cde4914c8513ccbe4262cb8bc475..326406b95484d1048af5ec30dbaa348ad83d1f35 100644 (file)
                        };
                };
 
+               flx10: flexcom@e2820000 {
+                       compatible = "atmel,sama5d2-flexcom";
+                       reg = <0xe2820000 0x200>;
+                       clocks = <&pmc PMC_TYPE_PERIPHERAL 48>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0x0 0xe2820000 0x800>;
+                       status = "disabled";
+
+                       i2c10: i2c@600 {
+                               compatible = "microchip,sama7g5-i2c", "microchip,sam9x60-i2c";
+                               reg = <0x600 0x200>;
+                               interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 48>;
+                               atmel,fifo-size = <32>;
+                               dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>,
+                                      <&dma0 AT91_XDMAC_DT_PERID(25)>;
+                               dma-names = "tx", "rx";
+                               status = "disabled";
+                       };
+               };
+
                flx11: flexcom@e2824000 {
                        compatible = "atmel,sama5d2-flexcom";
                        reg = <0xe2824000 0x200>;