arm64: dts: renesas: r9a09g011: Add i2c nodes
authorPhil Edworthy <phil.edworthy@renesas.com>
Fri, 19 Aug 2022 19:39:43 +0000 (20:39 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 29 Aug 2022 07:16:56 +0000 (09:16 +0200)
Add device nodes for the I2C controllers that are not assigned to the
ISP.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Link: https://lore.kernel.org/r/20220819193944.337599-3-phil.edworthy@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g011.dtsi

index 44e1e28..fb1a972 100644 (file)
                        #power-domain-cells = <0>;
                };
 
+               i2c0: i2c@a4030000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c";
+                       reg = <0 0xa4030000 0 0x80>;
+                       interrupts = <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>,
+                                    <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "tia", "tis";
+                       clocks = <&cpg CPG_MOD R9A09G011_IIC_PCLK0>;
+                       resets = <&cpg R9A09G011_IIC_GPA_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
+               i2c2: i2c@a4030100 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c";
+                       reg = <0 0xa4030100 0 0x80>;
+                       interrupts = <GIC_SPI 234 IRQ_TYPE_EDGE_RISING>,
+                                    <GIC_SPI 238 IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "tia", "tis";
+                       clocks = <&cpg CPG_MOD R9A09G011_IIC_PCLK1>;
+                       resets = <&cpg R9A09G011_IIC_GPB_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
                uart0: serial@a4040000 {
                        compatible = "renesas,r9a09g011-uart", "renesas,em-uart";
                        reg = <0 0xa4040000 0 0x80>;