About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / i2c / i2c-rcar.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

1	I2C for R-Car platforms
2	
3	Required properties:
4	- compatible:
5		"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.
7		"renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
8		"renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
9		"renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
10		"renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
11		"renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
12		"renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
13		"renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
14		"renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
15		"renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
16		"renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
17		"renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
18		"renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
19					device.
20		"renesas,rcar-gen3-i2c" for a generic R-Car Gen3 compatible device.
21		"renesas,i2c-rcar" (deprecated)
22	
23		When compatible with the generic version, nodes must list the
24		SoC-specific version corresponding to the platform first followed
25		by the generic version.
26	
27	- reg: physical base address of the controller and length of memory mapped
28	  region.
29	- interrupts: interrupt specifier.
30	
31	Optional properties:
32	- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
33	  property indicates the default frequency 100 kHz.
34	- clocks: clock specifier.
35	- dmas: Must contain a list of two references to DMA specifiers, one for
36	  transmission, and one for reception.
37	- dma-names: Must contain a list of two DMA names, "tx" and "rx".
38	
39	- i2c-scl-falling-time-ns: see i2c.txt
40	- i2c-scl-internal-delay-ns: see i2c.txt
41	- i2c-scl-rising-time-ns: see i2c.txt
42	
43	Examples :
44	
45	i2c0: i2c@e6508000 {
46		#address-cells = <1>;
47		#size-cells = <0>;
48		compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
49		reg = <0 0xe6508000 0 0x40>;
50		interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
51		clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
52		clock-frequency = <400000>;
53	};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog