]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/i2c/i2c-jz4780.txt
Merge remote-tracking branch 'kgdb/kgdb-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / i2c / i2c-jz4780.txt
1 * Ingenic JZ4780 I2C Bus controller
2
3 Required properties:
4 - compatible: should be "ingenic,jz4780-i2c"
5 - reg: Should contain the address & size of the I2C controller registers.
6 - interrupts: Should specify the interrupt provided by parent.
7 - clocks: Should contain a single clock specifier for the JZ4780 I2C clock.
8 - clock-frequency: desired I2C bus clock frequency in Hz.
9
10 Recommended properties:
11 - pinctrl-names: should be "default";
12 - pinctrl-0: phandle to pinctrl function
13
14 Optional properties:
15 - interrupt-parent: Should be the phandle of the interrupt controller that
16   delivers interrupts to the I2C block.
17
18 Example
19
20 / {
21         i2c4: i2c4@0x10054000 {
22                 compatible = "ingenic,jz4780-i2c";
23                 reg = <0x10054000 0x1000>;
24
25                 interrupt-parent = <&intc>;
26                 interrupts = <56>;
27
28                 clocks = <&cgu JZ4780_CLK_SMB4>;
29                 clock-frequency = <100000>;
30                 pinctrl-names = "default";
31                 pinctrl-0 = <&pins_i2c4_data>;
32
33         };
34 };
35