diff options
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-synquacer.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt new file mode 100644 index 000000000000..72f4a2f0fedc --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | Socionext SynQuacer I2C | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Must be "socionext,synquacer-i2c" | ||
5 | - reg : Offset and length of the register set for the device | ||
6 | - interrupts : A single interrupt specifier | ||
7 | - #address-cells : Must be <1>; | ||
8 | - #size-cells : Must be <0>; | ||
9 | - clock-names : Must contain "pclk". | ||
10 | - clocks : Must contain an entry for each name in clock-names. | ||
11 | (See the common clock bindings.) | ||
12 | |||
13 | Optional properties: | ||
14 | - clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and | ||
15 | Fast modes are supported, possible values are 100000 and | ||
16 | 400000. | ||
17 | |||
18 | Example : | ||
19 | |||
20 | i2c@51210000 { | ||
21 | compatible = "socionext,synquacer-i2c"; | ||
22 | reg = <0x51210000 0x1000>; | ||
23 | interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; | ||
24 | #address-cells = <1>; | ||
25 | #size-cells = <0>; | ||
26 | clock-names = "pclk"; | ||
27 | clocks = <&clk_i2c>; | ||
28 | clock-frequency = <400000>; | ||
29 | }; | ||