Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 8b1b14f34030bfa38399b9439603610b > files > 2218

kernel-linus-doc-5.4.20-1.mga7.noarch.rpm

Device tree configuration for Renesas RIIC driver

Required properties:
- compatible      :
	"renesas,riic-r7s72100" if the device is a part of a R7S72100 SoC.
	"renesas,riic-r7s9210" if the device is a part of a R7S9210 SoC.
	"renesas,riic-rz" for a generic RZ/A compatible device.
- reg             : address start and address range size of device
- interrupts      : 8 interrupts (TEI, RI, TI, SPI, STI, NAKI, ALI, TMOI)
- clock-frequency : frequency of bus clock in Hz
- #address-cells  : should be <1>
- #size-cells     : should be <0>

Pinctrl properties might be needed, too. See there.

Example:

	i2c0: i2c@fcfee000 {
		compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
		reg = <0xfcfee000 0x44>;
		interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>,
			     <0 158 IRQ_TYPE_EDGE_RISING>,
			     <0 159 IRQ_TYPE_EDGE_RISING>,
			     <0 160 IRQ_TYPE_LEVEL_HIGH>,
			     <0 161 IRQ_TYPE_LEVEL_HIGH>,
			     <0 162 IRQ_TYPE_LEVEL_HIGH>,
			     <0 163 IRQ_TYPE_LEVEL_HIGH>,
			     <0 164 IRQ_TYPE_LEVEL_HIGH>;
		clock-frequency = <100000>;
		#address-cells = <1>;
		#size-cells = <0>;
	};