From: Magnus Damm <damm+rene...@opensource.se>

A hack to add I2C0 on r8a77990. This is needed to hook up the video decoder.

Not-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---

 arch/arm64/boot/dts/renesas/r8a77990.dtsi |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- 0003/arch/arm64/boot/dts/renesas/r8a77990.dtsi
+++ work/arch/arm64/boot/dts/renesas/r8a77990.dtsi      2018-06-19 
21:07:37.440607110 +0900
@@ -191,6 +191,20 @@
                        #power-domain-cells = <1>;
                };
 
+               i2c0: i2c@e6500000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "renesas,i2c-r8a77990",
+                                    "renesas,rcar-gen3-i2c";
+                       reg = <0 0xe6500000 0 0x40>;
+                       interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 931>;
+                       power-domains = <&sysc 32>;
+                       resets = <&cpg 931>;
+                       i2c-scl-internal-delay-ns = <110>;
+                       status = "disabled";
+               };
+
                avb: ethernet@e6800000 {
                        compatible = "renesas,etheravb-r8a77990",
                                     "renesas,etheravb-rcar-gen3";

Reply via email to