Songjun Wu | e3b7599 | 2016-06-20 13:22:39 +0800 | [diff] [blame] | 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 | "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 | |
| 13 | Optional properties: |
| 14 | - clock-frequency: Desired I2C bus frequency in Hz, default value is 100000. |
| 15 | - Child nodes conforming to i2c bus binding. |
| 16 | |
| 17 | Examples : |
| 18 | |
| 19 | i2c0: 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 | }; |