Stephen Warren | f3b54b9 | 2013-02-11 19:47:56 -0700 | [diff] [blame] | 1 | Broadcom BCM2835 I2C controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "brcm,bcm2835-i2c". |
| 5 | - reg: Should contain register location and length. |
| 6 | - interrupts: Should contain interrupt. |
| 7 | - clocks : The clock feeding the I2C controller. |
| 8 | |
| 9 | Recommended properties: |
| 10 | - clock-frequency : desired I2C bus clock frequency in Hz. |
| 11 | |
| 12 | Example: |
| 13 | |
| 14 | i2c@20205000 { |
| 15 | compatible = "brcm,bcm2835-i2c"; |
| 16 | reg = <0x7e205000 0x1000>; |
| 17 | interrupts = <2 21>; |
| 18 | clocks = <&clk_i2c>; |
| 19 | clock-frequency = <100000>; |
| 20 | }; |