]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: at91: sama5: Add flexcom4 node
authorArtur Rojek <artur@conclusive.pl>
Wed, 18 Oct 2023 14:00:58 +0000 (16:00 +0200)
committerEugen Hristev <eugen.hristev@collabora.com>
Mon, 23 Oct 2023 14:07:06 +0000 (17:07 +0300)
Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in
I2C mode.

Signed-off-by: Artur Rojek <artur@conclusive.pl>
arch/arm/dts/sama5d2.dtsi

index dd6468ed96aaea4ed4cc278bddc7e7185adf9b16..819564fdd5bb4e75322e74fdee9a4b5381b51e21 100644 (file)
                                status = "disabled";
                        };
 
+                       flx4: flexcom@fc018000 {
+                               compatible = "atmel,sama5d2-flexcom";
+                               reg = <0xfc018000 0x200>;
+                               clocks = <&flx4_clk>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0x0 0xfc018000 0x800>;
+                               status = "disabled";
+
+                               i2c6: i2c@600 {
+                                       compatible = "atmel,sama5d2-i2c";
+                                       reg = <0x600 0x200>;
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+                                       clocks = <&flx4_clk>;
+                                       clock-names = "i2c6_clk";
+                                       status = "disabled";
+                               };
+                       };
+
                        aic: interrupt-controller@fc020000 {
                                #interrupt-cells = <3>;
                                compatible = "atmel,sama5d2-aic";