blob: 5762d2d1ab9c9658a9f36cfc36fc48042f00170d [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:
Lad Prabhakar31514852020-05-15 16:08:41 +01005 "renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC.
Biju Das45236562017-08-08 12:20:31 +01006 "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
Biju Das8bca7082018-09-21 18:36:59 +01007 "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC.
Biju Das45236562017-08-08 12:20:31 +01008 "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
Fabrizio Castrof4089fcf2018-09-21 18:36:58 +01009 "renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC.
Fabrizio Castro0857f502018-08-14 13:32:55 +010010 "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
Biju Dasb8033762019-10-04 08:59:58 +010011 "renesas,i2c-r8a774b1" if the device is a part of a R8A774B1 SoC.
Fabrizio Castro1ccf1982018-12-13 20:19:02 +000012 "renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC.
Lad Prabhakar471fb8c2020-07-15 12:09:01 +010013 "renesas,i2c-r8a774e1" if the device is a part of a R8A774E1 SoC.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010014 "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
15 "renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
16 "renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
17 "renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
18 "renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
19 "renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
20 "renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
21 "renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
Geert Uytterhoeven8b183f52019-12-05 14:39:56 +010022 "renesas,i2c-r8a7796" if the device is a part of a R8A77960 SoC.
23 "renesas,i2c-r8a77961" if the device is a part of a R8A77961 SoC.
Wolfram Sang9d952aa2018-03-20 22:53:20 +010024 "renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
Sergei Shtylyovdb6b7802017-10-13 15:23:55 +030025 "renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
Sergei Shtylyovb80646b2018-05-28 22:39:05 +030026 "renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
Hiromitsu Yamasakiea3cfbd2018-07-20 12:00:24 +020027 "renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC.
Ulrich Hechtd0adf762018-01-29 16:45:47 +010028 "renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
Wolfram Sang86275372020-12-23 18:25:00 +010029 "renesas,i2c-r8a779a0" if the device is a part of a R8A779A0 SoC.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010030 "renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
Biju Das45236562017-08-08 12:20:31 +010031 "renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
32 device.
Fabrizio Castro0857f502018-08-14 13:32:55 +010033 "renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible
34 device.
Simon Hormanad4a8dc2016-12-06 17:01:28 +010035 "renesas,i2c-rcar" (deprecated)
36
37 When compatible with the generic version, nodes must list the
38 SoC-specific version corresponding to the platform first followed
39 by the generic version.
40
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020041- reg: physical base address of the controller and length of memory mapped
42 region.
43- interrupts: interrupt specifier.
44
45Optional properties:
46- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
Geert Uytterhoevenddf3dc82016-03-15 17:51:28 +010047 property indicates the default frequency 100 kHz.
Wolfram Sange8936452014-02-20 09:03:20 +010048- clocks: clock specifier.
Niklas Söderlund73e8b052016-05-14 14:17:08 +020049- dmas: Must contain a list of two references to DMA specifiers, one for
50 transmission, and one for reception.
51- dma-names: Must contain a list of two DMA names, "tx" and "rx".
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020052
Wolfram Sangca68ead2015-12-08 10:37:49 +010053- i2c-scl-falling-time-ns: see i2c.txt
54- i2c-scl-internal-delay-ns: see i2c.txt
55- i2c-scl-rising-time-ns: see i2c.txt
56
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020057Examples :
58
Wolfram Sange8936452014-02-20 09:03:20 +010059i2c0: i2c@e6508000 {
60 #address-cells = <1>;
61 #size-cells = <0>;
Simon Hormanad4a8dc2016-12-06 17:01:28 +010062 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
Wolfram Sange8936452014-02-20 09:03:20 +010063 reg = <0 0xe6508000 0 0x40>;
64 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
65 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
66 clock-frequency = <400000>;
Guennadi Liakhovetski7679c0e2013-09-12 14:36:46 +020067};