About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

Based on kernel version 4.13.3. Page generated on 2017-09-23 13:55 EST.

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

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.