2013-09-12 12:36:46 +00:00
|
|
|
I2C for R-Car platforms
|
|
|
|
|
|
|
|
Required properties:
|
2016-12-06 16:01:28 +00:00
|
|
|
- compatible:
|
2017-08-08 11:20:31 +00:00
|
|
|
"renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
|
2018-09-21 17:36:59 +00:00
|
|
|
"renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC.
|
2017-08-08 11:20:31 +00:00
|
|
|
"renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
|
2018-09-21 17:36:58 +00:00
|
|
|
"renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC.
|
2018-08-14 12:32:55 +00:00
|
|
|
"renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
|
2018-12-13 20:19:02 +00:00
|
|
|
"renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC.
|
2016-12-06 16:01:28 +00:00
|
|
|
"renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
|
|
|
|
"renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
|
|
|
|
"renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
|
|
|
|
"renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
|
|
|
|
"renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
|
|
|
|
"renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
|
|
|
|
"renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
|
|
|
|
"renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
|
|
|
|
"renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
|
2018-03-20 21:53:20 +00:00
|
|
|
"renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
|
2017-10-13 12:23:55 +00:00
|
|
|
"renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
|
2018-05-28 19:39:05 +00:00
|
|
|
"renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
|
2018-07-20 10:00:24 +00:00
|
|
|
"renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC.
|
2018-01-29 15:45:47 +00:00
|
|
|
"renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
|
2016-12-06 16:01:28 +00:00
|
|
|
"renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
|
2017-08-08 11:20:31 +00:00
|
|
|
"renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
|
|
|
|
device.
|
2018-08-14 12:32:55 +00:00
|
|
|
"renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible
|
|
|
|
device.
|
2016-12-06 16:01:28 +00:00
|
|
|
"renesas,i2c-rcar" (deprecated)
|
|
|
|
|
|
|
|
When compatible with the generic version, nodes must list the
|
|
|
|
SoC-specific version corresponding to the platform first followed
|
|
|
|
by the generic version.
|
|
|
|
|
2013-09-12 12:36:46 +00:00
|
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
|
|
region.
|
|
|
|
- interrupts: interrupt specifier.
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
|
2016-03-15 16:51:28 +00:00
|
|
|
property indicates the default frequency 100 kHz.
|
2014-02-20 08:03:20 +00:00
|
|
|
- clocks: clock specifier.
|
2016-05-14 12:17:08 +00:00
|
|
|
- dmas: Must contain a list of two references to DMA specifiers, one for
|
|
|
|
transmission, and one for reception.
|
|
|
|
- dma-names: Must contain a list of two DMA names, "tx" and "rx".
|
2013-09-12 12:36:46 +00:00
|
|
|
|
2015-12-08 09:37:49 +00:00
|
|
|
- i2c-scl-falling-time-ns: see i2c.txt
|
|
|
|
- i2c-scl-internal-delay-ns: see i2c.txt
|
|
|
|
- i2c-scl-rising-time-ns: see i2c.txt
|
|
|
|
|
2013-09-12 12:36:46 +00:00
|
|
|
Examples :
|
|
|
|
|
2014-02-20 08:03:20 +00:00
|
|
|
i2c0: i2c@e6508000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2016-12-06 16:01:28 +00:00
|
|
|
compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
|
2014-02-20 08:03:20 +00:00
|
|
|
reg = <0 0xe6508000 0 0x40>;
|
|
|
|
interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
|
|
|
|
clock-frequency = <400000>;
|
2013-09-12 12:36:46 +00:00
|
|
|
};
|