blob: 39cd21d95810628b259f22247aebc654cb0e7fa6 [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 Castro0857f502018-08-14 13:32:55 +01007 "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
Simon Hormanad4a8dc2016-12-06 17:01:28 +01008 "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
9 "renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
10 "renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
11 "renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
12 "renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
13 "renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
14 "renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
15 "renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
16 "renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
Wolfram Sang9d952aa2018-03-20 22:53:20 +010017 "renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
Sergei Shtylyovdb6b7802017-10-13 15:23:55 +030018 "renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
Sergei Shtylyovb80646b2018-05-28 22:39:05 +030019 "renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
Hiromitsu Yamasakiea3cfbd2018-07-20 12:00:24 +020020 "renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC.
Ulrich Hechtd0adf762018-01-29 16:45:47 +010021 "renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010022 "renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
Biju Das45236562017-08-08 12:20:31 +010023 "renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
24 device.
Fabrizio Castro0857f502018-08-14 13:32:55 +010025 "renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible
26 device.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010027 "renesas,i2c-rcar" (deprecated)
28
29 When compatible with the generic version, nodes must list the
30 SoC-specific version corresponding to the platform first followed
31 by the generic version.
32
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020033- reg: physical base address of the controller and length of memory mapped
34 region.
35- interrupts: interrupt specifier.
36
37Optional properties:
38- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
Geert Uytterhoevenddf3dc82016-03-15 17:51:28 +010039 property indicates the default frequency 100 kHz.
Wolfram Sange8936452014-02-20 09:03:20 +010040- clocks: clock specifier.
Niklas Söderlund73e8b052016-05-14 14:17:08 +020041- dmas: Must contain a list of two references to DMA specifiers, one for
42 transmission, and one for reception.
43- dma-names: Must contain a list of two DMA names, "tx" and "rx".
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020044
Wolfram Sangca68ead2015-12-08 10:37:49 +010045- i2c-scl-falling-time-ns: see i2c.txt
46- i2c-scl-internal-delay-ns: see i2c.txt
47- i2c-scl-rising-time-ns: see i2c.txt
48
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020049Examples :
50
Wolfram Sange8936452014-02-20 09:03:20 +010051i2c0: i2c@e6508000 {
52 #address-cells = <1>;
53 #size-cells = <0>;
Simon Hormanad4a8dc2016-12-06 17:01:28 +010054 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
Wolfram Sange8936452014-02-20 09:03:20 +010055 reg = <0 0xe6508000 0 0x40>;
56 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
57 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
58 clock-frequency = <400000>;
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020059};