Moritz Fischer | 30d7814 | 2015-12-28 09:47:10 -0800 | [diff] [blame] | 1 | Cadence I2C controller Device Tree Bindings |
| 2 | ------------------------------------------- |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible : Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10". |
| 6 | - reg : Physical base address and size of I2C registers map. |
| 7 | - interrupts : Property with a value describing the interrupt |
| 8 | number. |
| 9 | - interrupt-parent : Must be core interrupt controller |
| 10 | - clocks : Clock phandles (see clock bindings for details). |
| 11 | |
Pei Yue Ho | cf1778c | 2023-02-13 00:02:40 -0800 | [diff] [blame] | 12 | Optional properties: |
| 13 | - fifo-depth : To specify the FIFO depth of the controller. |
| 14 | |
Moritz Fischer | 30d7814 | 2015-12-28 09:47:10 -0800 | [diff] [blame] | 15 | Example: |
| 16 | i2c0: i2c@e0004000 { |
| 17 | compatible = "cdns,i2c-r1p10"; |
| 18 | reg = <0xe0004000 0x1000>; |
| 19 | clocks = <&clkc 38>; |
| 20 | interrupts = <0 25 4>; |
| 21 | interrupt-parent = <&intc>; |
Pei Yue Ho | cf1778c | 2023-02-13 00:02:40 -0800 | [diff] [blame] | 22 | fifo-depth = <32>; |
Moritz Fischer | 30d7814 | 2015-12-28 09:47:10 -0800 | [diff] [blame] | 23 | status = "disabled"; |
| 24 | }; |