Merge tag 'nfs-for-4.19-2' of git://git.linux-nfs.org/projects/anna/linux-nfs
[sfrench/cifs-2.6.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 Example
15
16 / {
17         i2c4: i2c4@10054000 {
18                 compatible = "ingenic,jz4780-i2c";
19                 reg = <0x10054000 0x1000>;
20
21                 interrupt-parent = <&intc>;
22                 interrupts = <56>;
23
24                 clocks = <&cgu JZ4780_CLK_SMB4>;
25                 clock-frequency = <100000>;
26                 pinctrl-names = "default";
27                 pinctrl-0 = <&pins_i2c4_data>;
28
29         };
30 };
31