Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-cadence.txt
blobebaa90c58c8e727bd7c9fbfcb56cbd8b5e20d345
1 Binding for the Cadence I2C controller
3 Required properties:
4   - reg: Physical base address and size of the controller's register area.
5   - compatible: Should contain one of:
6                 * "cdns,i2c-r1p10"
7                 Note:   Use this when cadence i2c controller version 1.0 is used.
8                 * "cdns,i2c-r1p14"
9                 Note:   Use this when cadence i2c controller version 1.4 is used.
10   - clocks: Input clock specifier. Refer to common clock bindings.
11   - interrupts: Interrupt specifier. Refer to interrupt bindings.
12   - #address-cells: Should be 1.
13   - #size-cells: Should be 0.
15 Optional properties:
16   - clock-frequency: Desired operating frequency, in Hz, of the bus.
17   - clock-names: Input clock name, should be 'pclk'.
19 Example:
20         i2c@e0004000 {
21                 compatible = "cdns,i2c-r1p10";
22                 clocks = <&clkc 38>;
23                 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
24                 reg = <0xe0004000 0x1000>;
25                 clock-frequency = <400000>;
26                 #address-cells = <1>;
27                 #size-cells = <0>;
28         };