1Device tree configuration for Renesas IIC (sh_mobile) driver 2 3Required 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-sh73a0" (SH-Mobile AG5) 14- reg : address start and address range size of device 15- interrupts : interrupt of device 16- clocks : clock for device 17- #address-cells : should be <1> 18- #size-cells : should be <0> 19 20Optional properties: 21- clock-frequency : frequency of bus clock in Hz. Default 100kHz if unset. 22- dmas : Must contain a list of two references to DMA 23 specifiers, one for transmission, and one for 24 reception. 25- dma-names : Must contain a list of two DMA names, "tx" and "rx". 26 27 28Pinctrl properties might be needed, too. See there. 29 30Example: 31 32 iic0: i2c@e6500000 { 33 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic"; 34 reg = <0 0xe6500000 0 0x425>; 35 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>; 36 clocks = <&mstp3_clks R8A7790_CLK_IIC0>; 37 clock-frequency = <400000>; 38 #address-cells = <1>; 39 #size-cells = <0>; 40 }; 41