Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.git] / Documentation / devicetree / bindings / i2c / brcm,iproc-i2c.txt
1 Broadcom iProc I2C controller
2
3 Required properties:
4
5 - compatible:
6     Must be "brcm,iproc-i2c"
7
8 - reg:
9     Define the base and range of the I/O address space that contain the iProc
10     I2C controller registers
11
12 - interrupts:
13     Should contain the I2C interrupt
14
15 - clock-frequency:
16     This is the I2C bus clock. Need to be either 100000 or 400000
17
18 - #address-cells:
19     Always 1 (for I2C addresses)
20
21 - #size-cells:
22     Always 0
23
24 Example:
25         i2c0: i2c@18008000 {
26                 compatible = "brcm,iproc-i2c";
27                 reg = <0x18008000 0x100>;
28                 #address-cells = <1>;
29                 #size-cells = <0>;
30                 interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
31                 clock-frequency = <100000>;
32
33                 codec: wm8750@1a {
34                         compatible = "wlf,wm8750";
35                         reg = <0x1a>;
36                 };
37         };