]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - Documentation/devicetree/bindings/i2c/i2c-at91.txt
i2c: at91: use BIT() macro to define register bits
[mirror_ubuntu-artful-kernel.git] / Documentation / devicetree / bindings / i2c / i2c-at91.txt
CommitLineData
70d46a24
LD
1I2C for Atmel platforms
2
3Required 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>;
c21e5c76 12- clocks: phandles to input clocks.
70d46a24
LD
13
14Optional properties:
75b6c4b6 15- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
70d46a24
LD
16- Child nodes conforming to i2c bus binding
17
18Examples :
19
20i2c0: i2c@fff84000 {
21 compatible = "atmel,at91sam9g20-i2c";
22 reg = <0xfff84000 0x100>;
23 interrupts = <12 4 6>;
24 #address-cells = <1>;
25 #size-cells = <0>;
c21e5c76 26 clocks = <&twi0_clk>;
75b6c4b6 27 clock-frequency = <400000>;
70d46a24
LD
28
29 24c512@50 {
30 compatible = "24c512";
31 reg = <0x50>;
32 pagesize = <128>;
33 }
34}