Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[cris-mirror.git] / Documentation / devicetree / bindings / i2c / i2c-jz4780.txt
blobd4a082acf92f0f7b98cdd0702c47de3bbed30725
1 * Ingenic JZ4780 I2C Bus controller
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.
10 Recommended properties:
11 - pinctrl-names: should be "default";
12 - pinctrl-0: phandle to pinctrl function
14 Optional properties:
15 - interrupt-parent: Should be the phandle of the interrupt controller that
16   delivers interrupts to the I2C block.
18 Example
20 / {
21         i2c4: i2c4@10054000 {
22                 compatible = "ingenic,jz4780-i2c";
23                 reg = <0x10054000 0x1000>;
25                 interrupt-parent = <&intc>;
26                 interrupts = <56>;
28                 clocks = <&cgu JZ4780_CLK_SMB4>;
29                 clock-frequency = <100000>;
30                 pinctrl-names = "default";
31                 pinctrl-0 = <&pins_i2c4_data>;
33         };