18c2ecf20Sopenharmony_ciI2C for R-Car platforms
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible:
58c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC.
68c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
78c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC.
88c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
98c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC.
108c2ecf20Sopenharmony_ci	"renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
118c2ecf20Sopenharmony_ci	"renesas,i2c-r8a774b1" if the device is a part of a R8A774B1 SoC.
128c2ecf20Sopenharmony_ci	"renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC.
138c2ecf20Sopenharmony_ci	"renesas,i2c-r8a774e1" if the device is a part of a R8A774E1 SoC.
148c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
158c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
168c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
178c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
188c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
198c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
208c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
218c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
228c2ecf20Sopenharmony_ci	"renesas,i2c-r8a7796" if the device is a part of a R8A77960 SoC.
238c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77961" if the device is a part of a R8A77961 SoC.
248c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
258c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
268c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
278c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC.
288c2ecf20Sopenharmony_ci	"renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
298c2ecf20Sopenharmony_ci	"renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
308c2ecf20Sopenharmony_ci	"renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
318c2ecf20Sopenharmony_ci				device.
328c2ecf20Sopenharmony_ci	"renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible
338c2ecf20Sopenharmony_ci				device.
348c2ecf20Sopenharmony_ci	"renesas,i2c-rcar" (deprecated)
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	When compatible with the generic version, nodes must list the
378c2ecf20Sopenharmony_ci	SoC-specific version corresponding to the platform first followed
388c2ecf20Sopenharmony_ci	by the generic version.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci- reg: physical base address of the controller and length of memory mapped
418c2ecf20Sopenharmony_ci  region.
428c2ecf20Sopenharmony_ci- interrupts: interrupt specifier.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciOptional properties:
458c2ecf20Sopenharmony_ci- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
468c2ecf20Sopenharmony_ci  property indicates the default frequency 100 kHz.
478c2ecf20Sopenharmony_ci- clocks: clock specifier.
488c2ecf20Sopenharmony_ci- dmas: Must contain a list of two references to DMA specifiers, one for
498c2ecf20Sopenharmony_ci  transmission, and one for reception.
508c2ecf20Sopenharmony_ci- dma-names: Must contain a list of two DMA names, "tx" and "rx".
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci- i2c-scl-falling-time-ns: see i2c.txt
538c2ecf20Sopenharmony_ci- i2c-scl-internal-delay-ns: see i2c.txt
548c2ecf20Sopenharmony_ci- i2c-scl-rising-time-ns: see i2c.txt
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciExamples :
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_cii2c0: i2c@e6508000 {
598c2ecf20Sopenharmony_ci	#address-cells = <1>;
608c2ecf20Sopenharmony_ci	#size-cells = <0>;
618c2ecf20Sopenharmony_ci	compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
628c2ecf20Sopenharmony_ci	reg = <0 0xe6508000 0 0x40>;
638c2ecf20Sopenharmony_ci	interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
648c2ecf20Sopenharmony_ci	clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
658c2ecf20Sopenharmony_ci	clock-frequency = <400000>;
668c2ecf20Sopenharmony_ci};
67