Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-at91.txt
blob388f0a275fbacb4602b830889afb3643212231f4
1 I2C for Atmel platforms
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.
14 Optional properties:
15 - clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
16 - Child nodes conforming to i2c bus binding
18 Examples :
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>;
29         24c512@50 {
30                 compatible = "24c512";
31                 reg = <0x50>;
32                 pagesize = <128>;
33         }