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