xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/renesas,riic.txt (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1Device tree configuration for Renesas RIIC driver
2
3Required properties:
4- compatible      :
5	"renesas,riic-r7s72100" if the device is a part of a R7S72100 SoC.
6	"renesas,riic-r7s9210" if the device is a part of a R7S9210 SoC.
7	"renesas,riic-rz" for a generic RZ/A compatible device.
8- reg             : address start and address range size of device
9- interrupts      : 8 interrupts (TEI, RI, TI, SPI, STI, NAKI, ALI, TMOI)
10- clock-frequency : frequency of bus clock in Hz
11- #address-cells  : should be <1>
12- #size-cells     : should be <0>
13
14Pinctrl properties might be needed, too. See there.
15
16Example:
17
18	i2c0: i2c@fcfee000 {
19		compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
20		reg = <0xfcfee000 0x44>;
21		interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>,
22			     <0 158 IRQ_TYPE_EDGE_RISING>,
23			     <0 159 IRQ_TYPE_EDGE_RISING>,
24			     <0 160 IRQ_TYPE_LEVEL_HIGH>,
25			     <0 161 IRQ_TYPE_LEVEL_HIGH>,
26			     <0 162 IRQ_TYPE_LEVEL_HIGH>,
27			     <0 163 IRQ_TYPE_LEVEL_HIGH>,
28			     <0 164 IRQ_TYPE_LEVEL_HIGH>;
29		clock-frequency = <100000>;
30		#address-cells = <1>;
31		#size-cells = <0>;
32	};
33