diff options
author | Ray Jui <rjui@broadcom.com> | 2015-02-08 00:25:24 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-02-17 10:44:13 -0500 |
commit | e6e5dd3566e092459a11083e5c0775d01df8682f (patch) | |
tree | 51f0c92d80b178fbe2352ae8acd2da3de3a25c86 /Documentation | |
parent | a93ac5786d26851fd5df42338e26593cb8d58725 (diff) |
i2c: iproc: Add Broadcom iProc I2C Driver
Add initial support to the Broadcom iProc I2C controller found in the
iProc family of SoCs.
The iProc I2C controller has separate internal TX and RX FIFOs, each has
a size of 64 bytes. The iProc I2C controller supports two bus speeds
including standard mode (100kHz) and fast mode (400kHz)
Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Reviewed-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt b/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt new file mode 100644 index 000000000000..81f982ccca31 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt | |||
@@ -0,0 +1,37 @@ | |||
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 | }; | ||