]>
Commit | Line | Data |
---|---|---|
17573c27 MF |
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 | ||
8511a7fc PYH |
12 | Optional properties: |
13 | - fifo-depth : To specify the FIFO depth of the controller. | |
14 | ||
17573c27 MF |
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>; | |
8511a7fc | 22 | fifo-depth = <32>; |
17573c27 MF |
23 | status = "disabled"; |
24 | }; |