blob: 2065b7341a0e9300e5b02247394f754999b14f61 [file] [log] [blame]
Songjun Wue3b75992016-06-20 13:22:39 +08001I2C 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 "atmel,at91sam9x5-i2c", "atmel,sama5d4-i2c" or "atmel,sama5d2-i2c".
7- reg: physical base address of the controller and length of memory mapped
8 region.
9- #address-cells = <1>;
10- #size-cells = <0>;
11- clocks: phandles to input clocks.
12
13Optional properties:
14- clock-frequency: Desired I2C bus frequency in Hz, default value is 100000.
15- Child nodes conforming to i2c bus binding.
16
17Examples :
18
19i2c0: i2c@f8028000 {
20 compatible = "atmel,sama5d2-i2c";
21 reg = <0xf8028000 0x100>;
22 #address-cells = <1>;
23 #size-cells = <0>;
24 clocks = <&twi0_clk>;
25 clock-frequency = <100000>;
26};