arm64: dts: r8a7796: Add I2C for DVFS device node
authorDien Pham <dien.pham.ry@rvc.renesas.com>
Thu, 26 Jan 2017 08:52:27 +0000 (09:52 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 6 Mar 2017 08:54:26 +0000 (09:54 +0100)
This patch adds I2C for DVFS device node for R8A7796 SoC.

Signed-off-by: Dien Pham <dien.pham.ry@rvc.renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a7796.dtsi

index f7120cdedd0d67b2d60dc06ae83ca9d26ecf7c79..c95ad177b097809d49bf7d206df3f2782d4bd4f9 100644 (file)
@@ -25,6 +25,7 @@
                i2c4 = &i2c4;
                i2c5 = &i2c5;
                i2c6 = &i2c6;
+               i2c7 = &i2c_dvfs;
        };
 
        psci {
                        #power-domain-cells = <1>;
                };
 
+               i2c_dvfs: i2c@e60b0000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "renesas,iic-r8a7796",
+                                    "renesas,rcar-gen3-iic",
+                                    "renesas,rmobile-iic";
+                       reg = <0 0xe60b0000 0 0x425>;
+                       interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 926>;
+                       power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+                       status = "disabled";
+               };
+
                i2c0: i2c@e6500000 {
                        #address-cells = <1>;
                        #size-cells = <0>;