About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:00 EST.

1	I2C for Atmel platforms
2	
3	Required properties :
4	- compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c",
5	     "atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c"
6	     or "atmel,at91sam9x5-i2c"
7	- reg: physical base address of the controller and length of memory mapped
8	     region.
9	- interrupts: interrupt number to the cpu.
10	- #address-cells = <1>;
11	- #size-cells = <0>;
12	- clocks: phandles to input clocks.
13	
14	Optional properties:
15	- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
16	- Child nodes conforming to i2c bus binding
17	
18	Examples :
19	
20	i2c0: i2c@fff84000 {
21		compatible = "atmel,at91sam9g20-i2c";
22		reg = <0xfff84000 0x100>;
23		interrupts = <12 4 6>;
24		#address-cells = <1>;
25		#size-cells = <0>;
26		clocks = <&twi0_clk>;
27		clock-frequency = <400000>;
28	
29		24c512@50 {
30			compatible = "24c512";
31			reg = <0x50>;
32			pagesize = <128>;
33		}
34	}
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.