18c2ecf20Sopenharmony_ciDevice tree configuration for Renesas RIIC driver 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible : 58c2ecf20Sopenharmony_ci "renesas,riic-r7s72100" if the device is a part of a R7S72100 SoC. 68c2ecf20Sopenharmony_ci "renesas,riic-r7s9210" if the device is a part of a R7S9210 SoC. 78c2ecf20Sopenharmony_ci "renesas,riic-rz" for a generic RZ/A compatible device. 88c2ecf20Sopenharmony_ci- reg : address start and address range size of device 98c2ecf20Sopenharmony_ci- interrupts : 8 interrupts (TEI, RI, TI, SPI, STI, NAKI, ALI, TMOI) 108c2ecf20Sopenharmony_ci- clock-frequency : frequency of bus clock in Hz 118c2ecf20Sopenharmony_ci- #address-cells : should be <1> 128c2ecf20Sopenharmony_ci- #size-cells : should be <0> 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciPinctrl properties might be needed, too. See there. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciExample: 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci i2c0: i2c@fcfee000 { 198c2ecf20Sopenharmony_ci compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; 208c2ecf20Sopenharmony_ci reg = <0xfcfee000 0x44>; 218c2ecf20Sopenharmony_ci interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>, 228c2ecf20Sopenharmony_ci <0 158 IRQ_TYPE_EDGE_RISING>, 238c2ecf20Sopenharmony_ci <0 159 IRQ_TYPE_EDGE_RISING>, 248c2ecf20Sopenharmony_ci <0 160 IRQ_TYPE_LEVEL_HIGH>, 258c2ecf20Sopenharmony_ci <0 161 IRQ_TYPE_LEVEL_HIGH>, 268c2ecf20Sopenharmony_ci <0 162 IRQ_TYPE_LEVEL_HIGH>, 278c2ecf20Sopenharmony_ci <0 163 IRQ_TYPE_LEVEL_HIGH>, 288c2ecf20Sopenharmony_ci <0 164 IRQ_TYPE_LEVEL_HIGH>; 298c2ecf20Sopenharmony_ci clock-frequency = <100000>; 308c2ecf20Sopenharmony_ci #address-cells = <1>; 318c2ecf20Sopenharmony_ci #size-cells = <0>; 328c2ecf20Sopenharmony_ci }; 33