]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: microchip: sama7d65: Add flexcom 10 node
authorMihai Sain <mihai.sain@microchip.com>
Tue, 11 Feb 2025 14:33:01 +0000 (16:33 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Mon, 17 Feb 2025 08:35:47 +0000 (10:35 +0200)
Add flexcom 10 node and its i2c-controller subnode
for usage on the SAMA7D65 Curiosity board.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20250211143302.4102-2-mihai.sain@microchip.com
[claudiu.beznea: use compatible, reg, ranges order in flexcom node]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sama7d65.dtsi

index 854b30d15dcd4a239712e5a67cd978cadc6e570c..ac6eb52e8c2264486d01675a3f8212144974a5f8 100644 (file)
                        };
                };
 
+               flx10: flexcom@e2824000 {
+                       compatible = "microchip,sama7d65-flexcom", "atmel,sama5d2-flexcom";
+                       reg = <0xe2824000 0x200>;
+                       ranges = <0x0 0xe2824000 0x800>;
+                       clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       status = "disabled";
+
+                       i2c10: i2c@600 {
+                               compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
+                               reg = <0x600 0x200>;
+                               interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               atmel,fifo-size = <32>;
+                               status = "disabled";
+                       };
+               };
+
                gic: interrupt-controller@e8c11000 {
                        compatible = "arm,cortex-a7-gic";
                        reg = <0xe8c11000 0x1000>,