gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-jz4780.txt
blobd229eff5ca1b74543436dcc1fe5335d1c32202b3
1 * Ingenic JZ4780 I2C Bus controller
3 Required properties:
4 - compatible: should be one of the following:
5   - "ingenic,jz4780-i2c" for the JZ4780
6   - "ingenic,x1000-i2c" for the X1000
7 - reg: Should contain the address & size of the I2C controller registers.
8 - interrupts: Should specify the interrupt provided by parent.
9 - clocks: Should contain a single clock specifier for the JZ4780 I2C clock.
10 - clock-frequency: desired I2C bus clock frequency in Hz.
12 Recommended properties:
13 - pinctrl-names: should be "default";
14 - pinctrl-0: phandle to pinctrl function
16 Example
18 / {
19         i2c4: i2c4@10054000 {
20                 compatible = "ingenic,jz4780-i2c";
21                 reg = <0x10054000 0x1000>;
23                 interrupt-parent = <&intc>;
24                 interrupts = <56>;
26                 clocks = <&cgu JZ4780_CLK_SMB4>;
27                 clock-frequency = <100000>;
28                 pinctrl-names = "default";
29                 pinctrl-0 = <&pins_i2c4_data>;
31         };