blob: 671e2a14ddbbe8a4cfacaf4c2851726cdb8b50a0 [file] [log] [blame]
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +02001I2C for R-Car platforms
2
3Required properties:
Simon Hormanad4a8dc2016-12-06 17:01:28 +01004- compatible:
Biju Das45236562017-08-08 12:20:31 +01005 "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
6 "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
Fabrizio Castrof4089fcf2018-09-21 18:36:58 +01007 "renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC.
Fabrizio Castro0857f502018-08-14 13:32:55 +01008 "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
Simon Hormanad4a8dc2016-12-06 17:01:28 +01009 "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
10 "renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
11 "renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
12 "renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
13 "renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
14 "renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
15 "renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
16 "renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
17 "renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
Wolfram Sang9d952aa2018-03-20 22:53:20 +010018 "renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
Sergei Shtylyovdb6b7802017-10-13 15:23:55 +030019 "renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
Sergei Shtylyovb80646b2018-05-28 22:39:05 +030020 "renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
Hiromitsu Yamasakiea3cfbd2018-07-20 12:00:24 +020021 "renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC.
Ulrich Hechtd0adf762018-01-29 16:45:47 +010022 "renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010023 "renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
Biju Das45236562017-08-08 12:20:31 +010024 "renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
25 device.
Fabrizio Castro0857f502018-08-14 13:32:55 +010026 "renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible
27 device.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010028 "renesas,i2c-rcar" (deprecated)
29
30 When compatible with the generic version, nodes must list the
31 SoC-specific version corresponding to the platform first followed
32 by the generic version.
33
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020034- reg: physical base address of the controller and length of memory mapped
35 region.
36- interrupts: interrupt specifier.
37
38Optional properties:
39- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
Geert Uytterhoevenddf3dc82016-03-15 17:51:28 +010040 property indicates the default frequency 100 kHz.
Wolfram Sange8936452014-02-20 09:03:20 +010041- clocks: clock specifier.
Niklas Söderlund73e8b052016-05-14 14:17:08 +020042- dmas: Must contain a list of two references to DMA specifiers, one for
43 transmission, and one for reception.
44- dma-names: Must contain a list of two DMA names, "tx" and "rx".
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020045
Wolfram Sangca68ead2015-12-08 10:37:49 +010046- i2c-scl-falling-time-ns: see i2c.txt
47- i2c-scl-internal-delay-ns: see i2c.txt
48- i2c-scl-rising-time-ns: see i2c.txt
49
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020050Examples :
51
Wolfram Sange8936452014-02-20 09:03:20 +010052i2c0: i2c@e6508000 {
53 #address-cells = <1>;
54 #size-cells = <0>;
Simon Hormanad4a8dc2016-12-06 17:01:28 +010055 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
Wolfram Sange8936452014-02-20 09:03:20 +010056 reg = <0 0xe6508000 0 0x40>;
57 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
58 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
59 clock-frequency = <400000>;
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020060};