| .. | .. |
|---|
| 3 | 3 | Required properties: |
|---|
| 4 | 4 | |
|---|
| 5 | 5 | - compatible: |
|---|
| 6 | | - Must be "brcm,iproc-i2c" |
|---|
| 6 | + Must be "brcm,iproc-i2c" or "brcm,iproc-nic-i2c" |
|---|
| 7 | 7 | |
|---|
| 8 | 8 | - reg: |
|---|
| 9 | 9 | Define the base and range of the I/O address space that contain the iProc |
|---|
| 10 | 10 | I2C controller registers |
|---|
| 11 | | - |
|---|
| 12 | | -- interrupts: |
|---|
| 13 | | - Should contain the I2C interrupt |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | - clock-frequency: |
|---|
| 16 | 13 | This is the I2C bus clock. Need to be either 100000 or 400000 |
|---|
| .. | .. |
|---|
| 21 | 18 | - #size-cells: |
|---|
| 22 | 19 | Always 0 |
|---|
| 23 | 20 | |
|---|
| 21 | +Optional properties: |
|---|
| 22 | + |
|---|
| 23 | +- interrupts: |
|---|
| 24 | + Should contain the I2C interrupt. For certain revisions of the I2C |
|---|
| 25 | + controller, I2C interrupt is unwired to the interrupt controller. In such |
|---|
| 26 | + case, this property should be left unspecified, and driver will fall back |
|---|
| 27 | + to polling mode |
|---|
| 28 | + |
|---|
| 29 | +- brcm,ape-hsls-addr-mask: |
|---|
| 30 | + Required for "brcm,iproc-nic-i2c". Host view of address mask into the |
|---|
| 31 | + 'APE' co-processor. Value must be unsigned, 32-bit |
|---|
| 32 | + |
|---|
| 24 | 33 | Example: |
|---|
| 25 | 34 | i2c0: i2c@18008000 { |
|---|
| 26 | 35 | compatible = "brcm,iproc-i2c"; |
|---|