Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-sh_mobile.txt
blob214f94c25d370bd408396a82c84c6ecd963cc195
1 Device tree configuration for Renesas IIC (sh_mobile) driver
3 Required properties:
4 - compatible      : "renesas,iic-<soctype>". "renesas,rmobile-iic" as fallback
5                      Examples with soctypes are:
6                         - "renesas,iic-r8a73a4" (R-Mobile APE6)
7                         - "renesas,iic-r8a7740" (R-Mobile A1)
8                         - "renesas,iic-r8a7790" (R-Car H2)
9                         - "renesas,iic-r8a7791" (R-Car M2-W)
10                         - "renesas,iic-r8a7792" (R-Car V2H)
11                         - "renesas,iic-r8a7793" (R-Car M2-N)
12                         - "renesas,iic-r8a7794" (R-Car E2)
13                         - "renesas,iic-r8a7795" (R-Car H3)
14                         - "renesas,iic-sh73a0" (SH-Mobile AG5)
15 - reg             : address start and address range size of device
16 - interrupts      : interrupt of device
17 - clocks          : clock for device
18 - #address-cells  : should be <1>
19 - #size-cells     : should be <0>
21 Optional properties:
22 - clock-frequency : frequency of bus clock in Hz. Default 100kHz if unset.
23 - dmas            : Must contain a list of two references to DMA
24                     specifiers, one for transmission, and one for
25                     reception.
26 - dma-names       : Must contain a list of two DMA names, "tx" and "rx".
29 Pinctrl properties might be needed, too. See there.
31 Example:
33         iic0: i2c@e6500000 {
34                 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
35                 reg = <0 0xe6500000 0 0x425>;
36                 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
37                 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
38                 clock-frequency = <400000>;
39                 #address-cells = <1>;
40                 #size-cells = <0>;
41         };