Merge branch 'tunnels'
[linux.git] / Documentation / devicetree / bindings / i2c / i2c-at91.txt
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 - Child nodes conforming to i2c bus binding
16
17 Examples :
18
19 i2c0: i2c@fff84000 {
20         compatible = "atmel,at91sam9g20-i2c";
21         reg = <0xfff84000 0x100>;
22         interrupts = <12 4 6>;
23         #address-cells = <1>;
24         #size-cells = <0>;
25         clocks = <&twi0_clk>;
26
27         24c512@50 {
28                 compatible = "24c512";
29                 reg = <0x50>;
30                 pagesize = <128>;
31         }
32 }