Device Tree

From Renesas.info


RZ-G

  • This page contains helpful notes about Device Tree configurations

Device Tree Files

  • Device Tree files for Renesas SoC and evaluation boards are under the directory arch/arm64/boot/dts/renesas
  • Below is the list of Device Tree files used for the Renesas Evaluation boards.

RZ/G2H HiHope

File Description
hihope-common.dtsi
hihope-rev2.dtsi
hihope-rev4.dtsi
hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi
hihope-rzg2-ex-aistarvision-mipi-adapter-2.4.dtsi
hihope-rzg2-ex.dtsi
hihope-rzg2-ex-lvds.dtsi
r8a774e1.dtsi
r8a774e1-hihope-rzg2h.dts
r8a774e1-hihope-rzg2h-ex.dts
r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts
r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts
r8a774e1-hihope-rzg2h-ex-mipi-2.4.dts

RZ/G2N HiHope

File Description
r8a774b1.dtsi
r8a774b1-hihope-rzg2n.dts
r8a774b1-hihope-rzg2n-ex.dts
r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts
r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts
r8a774b1-hihope-rzg2n-ex-mipi-2.4.dts
r8a774b1-hihope-rzg2n-rev2.dts
r8a774b1-hihope-rzg2n-rev2-ex.dts
r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts
r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.1.dts
r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.4.dts

RZ/G2M HiHope

File Description
r8a774a1.dtsi
r8a774a1-hihope-rzg2m.dts
r8a774a1-hihope-rzg2m-ex.dts
r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts
r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts
r8a774a1-hihope-rzg2m-ex-mipi-2.4.dts
r8a774a1-hihope-rzg2m-rev2.dts
r8a774a1-hihope-rzg2m-rev2-ex.dts
r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dts
r8a774a1-hihope-rzg2m-rev2-ex-mipi-2.1.dts
r8a774a1-hihope-rzg2m-rev2-ex-mipi-2.4.dts
r8a774a3.dtsi
r8a774a3-hihope-rzg2m.dts
r8a774a3-hihope-rzg2m-ex.dts
r8a774a3-hihope-rzg2m-ex-idk-1110wr.dts
r8a774a3-hihope-rzg2m-ex-mipi-2.1.dts
r8a774a3-hihope-rzg2m-ex-mipi-2.4.dts

RZ/G2E EK874

File Description
r8a774c0-cat874.dts
r8a774c0-cat874-revc.dts
r8a774c0.dtsi
r8a774c0-ek874.dts
r8a774c0-ek874-idk-2121wr.dts
r8a774c0-ek874-mipi-2.1.dts
r8a774c0-ek874-mipi-2.4.dts
r8a774c0-ek874-revc.dts
r8a774c0-ek874-revc-idk-2121wr.dts
r8a774c0-ek874-revc-mipi-2.1.dts
r8a774c0-ek874-revc-mipi-2.4.dts
r8a774c0-es10-cat874.dts
r8a774c0-es10.dtsi
r8a774c0-es10-ek874.dts
r8a774c0-es10-ek874-idk-2121wr.dts
r8a774c0-es10-ek874-mipi-2.1.dts
r8a774c0-es10-ek874-mipi-2.4.dts
cat874-common.dtsi
cat875.dtsi


RZ/G2L SMARC

File Description
x

RZ/G2LC SMARC

File Description
x

RZ/G2UL SMARC

File Description
x

RZ/V2L SMARC

File Description
x

r9a07g043.dtsi r9a07g043u11.dtsi r9a07g043u11-smarc.dts r9a07g043u12.dtsi r9a07g044c1.dtsi r9a07g044c2.dtsi r9a07g044c2-smarc.dts r9a07g044.dtsi r9a07g044l1.dtsi r9a07g044l2-dev.dts r9a07g044l2.dtsi r9a07g044l2-smarc.dts r9a07g054.dtsi r9a07g054l1.dtsi r9a07g054l2-dev.dts r9a07g054l2.dtsi r9a07g054l2-smarc.dts

rzg2-advantech-idk-1110wr-panel.dtsi rzg2lc-smarc.dtsi rzg2lc-smarc-pinfunction.dtsi rzg2lc-smarc-som.dtsi rzg2l-smarc-dev.dtsi rzg2l-smarc.dtsi rzg2l-smarc-pinfunction.dtsi rzg2l-smarc-som.dtsi rzg2ul-smarc.dtsi rz-smarc-common.dtsi

Device Tree Syntax

Top Level (root node)

Compatible for the SoC

  • The .dtsi file for each SoC will have a "compatible" string to specify that SoC it is. If you decide to make your own top level compatible, make sure you include the original SoC string. The reason is that some drivers (the VSP driver for example) look for that SoC string to know what SoC they are running on. If it is missing, it will not load or run correctly.

Here is a correct example of a .dts file for a RZ/G2L board. Notice how "renesas,r9a07g044" is at the end of the line.

/ {
	model = "My Really Cool RZ/G2L Board";
	compatible = "my-rzg2l-board" , "renesas,r9a07g044";

	chosen {
		bootargs = "ignore_loglevel rw root=/dev/mmc0blk1";
		stdout-path = "serial0:115200n8";
	};

};

Display

Audio

Camera

Ethernet

USB

SD Card

eMMC

I2C

SPI

QSPI Flash

UART

CAN

ADC

WDT

PWM

Timer