Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 1 | * I2C |
| 2 | |
| 3 | Required properties : |
| 4 | |
| 5 | - device_type : Should be "i2c" |
| 6 | - reg : Offset and length of the register set for the device |
| 7 | |
| 8 | Recommended properties : |
| 9 | |
| 10 | - compatible : Should be "fsl-i2c" for parts compatible with |
| 11 | Freescale I2C specifications. |
| 12 | - interrupts : <a b> where a is the interrupt number and b is a |
| 13 | field that represents an encoding of the sense and level |
| 14 | information for the interrupt. This should be encoded based on |
| 15 | the information in section 2) depending on the type of interrupt |
| 16 | controller you have. |
| 17 | - interrupt-parent : the phandle for the interrupt controller that |
| 18 | services interrupts for this device. |
| 19 | - dfsrr : boolean; if defined, indicates that this I2C device has |
| 20 | a digital filter sampling rate register |
| 21 | - fsl5200-clocking : boolean; if defined, indicated that this device |
| 22 | uses the FSL 5200 clocking mechanism. |
| 23 | |
| 24 | Example : |
| 25 | i2c@3000 { |
| 26 | interrupt-parent = <40000>; |
| 27 | interrupts = <1b 3>; |
| 28 | reg = <3000 18>; |
| 29 | device_type = "i2c"; |
| 30 | compatible = "fsl-i2c"; |
| 31 | dfsrr; |
| 32 | }; |