1Device tree configuration for Renesas IIC (sh_mobile) driver 2 3Required properties: 4- compatible : 5 - "renesas,iic-r8a73a4" (R-Mobile APE6) 6 - "renesas,iic-r8a7740" (R-Mobile A1) 7 - "renesas,iic-r8a7742" (RZ/G1H) 8 - "renesas,iic-r8a7743" (RZ/G1M) 9 - "renesas,iic-r8a7744" (RZ/G1N) 10 - "renesas,iic-r8a7745" (RZ/G1E) 11 - "renesas,iic-r8a774a1" (RZ/G2M) 12 - "renesas,iic-r8a774b1" (RZ/G2N) 13 - "renesas,iic-r8a774c0" (RZ/G2E) 14 - "renesas,iic-r8a774e1" (RZ/G2H) 15 - "renesas,iic-r8a7790" (R-Car H2) 16 - "renesas,iic-r8a7791" (R-Car M2-W) 17 - "renesas,iic-r8a7792" (R-Car V2H) 18 - "renesas,iic-r8a7793" (R-Car M2-N) 19 - "renesas,iic-r8a7794" (R-Car E2) 20 - "renesas,iic-r8a7795" (R-Car H3) 21 - "renesas,iic-r8a7796" (R-Car M3-W) 22 - "renesas,iic-r8a77961" (R-Car M3-W+) 23 - "renesas,iic-r8a77965" (R-Car M3-N) 24 - "renesas,iic-r8a77990" (R-Car E3) 25 - "renesas,iic-sh73a0" (SH-Mobile AG5) 26 - "renesas,rcar-gen2-iic" (generic R-Car Gen2 or RZ/G1 27 compatible device) 28 - "renesas,rcar-gen3-iic" (generic R-Car Gen3 or RZ/G2 29 compatible device) 30 - "renesas,rmobile-iic" (generic device) 31 32 When compatible with a generic R-Car version, nodes 33 must list the SoC-specific version corresponding to 34 the platform first followed by the generic R-Car 35 version. 36 37 When compatible with "renesas,rmobile-iic" it should 38 be the last compatibility string listed. 39 40 The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E) 41 controllers are not considered compatible with 42 "renesas,rcar-gen3-iic" or "renesas,rmobile-iic" 43 due to the absence of automatic transmission registers. 44 45- reg : address start and address range size of device 46- interrupts : interrupt of device 47- clocks : clock for device 48- #address-cells : should be <1> 49- #size-cells : should be <0> 50 51Optional properties: 52- clock-frequency : frequency of bus clock in Hz. Default 100kHz if unset. 53- dmas : Must contain a list of two references to DMA 54 specifiers, one for transmission, and one for 55 reception. 56- dma-names : Must contain a list of two DMA names, "tx" and "rx". 57 58 59Pinctrl properties might be needed, too. See there. 60 61Example: 62 63 iic0: i2c@e6500000 { 64 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic", 65 "renesas,rmobile-iic"; 66 reg = <0 0xe6500000 0 0x425>; 67 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>; 68 clocks = <&mstp3_clks R8A7790_CLK_IIC0>; 69 clock-frequency = <400000>; 70 #address-cells = <1>; 71 #size-cells = <0>; 72 }; 73