diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-08-06 06:09:57 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-10-06 07:20:33 -0400 |
commit | 43fea5813c56e4327371fd3c2209791ef7822de2 (patch) | |
tree | 6473edc6e3e3d84ff050393c18b5e3a65a50c8f6 /Documentation/devicetree/bindings | |
parent | a76e7c6821b5dddf69db9d76ec282819545f5b73 (diff) |
i2c: nomadik: Add Device Tree support to the Nomadik I2C driver
Here we apply the bindings required for successful Device Tree
probing of the i2c-nomadik driver.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/nomadik.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/nomadik.txt b/Documentation/devicetree/bindings/i2c/nomadik.txt new file mode 100644 index 000000000000..72065b0ff680 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/nomadik.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | I2C for Nomadik based systems | ||
2 | |||
3 | Required (non-standard) properties: | ||
4 | - Nil | ||
5 | |||
6 | Recommended (non-standard) properties: | ||
7 | - clock-frequency : Maximum bus clock frequency for the device | ||
8 | |||
9 | Optional (non-standard) properties: | ||
10 | - Nil | ||
11 | |||
12 | Example : | ||
13 | |||
14 | i2c@80004000 { | ||
15 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; | ||
16 | reg = <0x80004000 0x1000>; | ||
17 | interrupts = <0 21 0x4>; | ||
18 | #address-cells = <1>; | ||
19 | #size-cells = <0>; | ||
20 | v-i2c-supply = <&db8500_vape_reg>; | ||
21 | |||
22 | clock-frequency = <400000>; | ||
23 | }; | ||