RZ-G/RZG DeviceTree: Difference between revisions

From Renesas.info
Line 10: Line 10:


'''RZ/G2H HiHope'''
'''RZ/G2H HiHope'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
| r8a774e1.dtsi || RZ/G2H Device Tree containing all peripherals
|-
|-
| hihope-common.dtsi ||
| hihope-common.dtsi ||
Line 27: Line 31:
| hihope-rzg2-ex-lvds.dtsi ||
| hihope-rzg2-ex-lvds.dtsi ||
|-
|-
| r8a774e1.dtsi
| r8a774e1-hihope-rzg2h.dts ||
|-
|-
| r8a774e1-hihope-rzg2h.dts
| r8a774e1-hihope-rzg2h-ex.dts ||
|-
|-
| r8a774e1-hihope-rzg2h-ex.dts
| r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts ||
|-
|-
| r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts
| rzg2-advantech-idk-1110wr-panel.dtsi ||
|-
|-
| r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts
| r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts ||
|-
|-
| r8a774e1-hihope-rzg2h-ex-mipi-2.4.dts
| r8a774e1-hihope-rzg2h-ex-mipi-2.4.dts ||
|}
|}


'''RZ/G2N HiHope'''
'''RZ/G2N HiHope'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| r8a774b1.dtsi
| r8a774b1.dtsi || RZ/G2N Device Tree containing all peripherals
|-
|-
| r8a774b1-hihope-rzg2n.dts
| r8a774b1-hihope-rzg2n.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-ex.dts
| r8a774b1-hihope-rzg2n-ex.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts
| r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts
| r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-ex-mipi-2.4.dts
| r8a774b1-hihope-rzg2n-ex-mipi-2.4.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-rev2.dts
| r8a774b1-hihope-rzg2n-rev2.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-rev2-ex.dts
| r8a774b1-hihope-rzg2n-rev2-ex.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts
| r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts ||
|-
|-
| r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.1.dts
| rzg2-advantech-idk-1110wr-panel.dtsi ||
|-
|-
| r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.4.dts
| r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.1.dts ||
|-
| r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.4.dts ||
|-
|-
|}
|}


'''RZ/G2M HiHope'''
'''RZ/G2M HiHope'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| r8a774a1.dtsi
| r8a774a1.dtsi || RZ/G2M Device Tree containing all peripherals
|-
| r8a774a1-hihope-rzg2m.dts ||
|-
|-
| r8a774a1-hihope-rzg2m.dts
| r8a774a1-hihope-rzg2m-ex.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-ex.dts
| r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts
| rzg2-advantech-idk-1110wr-panel.dtsi ||
|-
|-
| r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts
| r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-ex-mipi-2.4.dts
| r8a774a1-hihope-rzg2m-ex-mipi-2.4.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-rev2.dts
| r8a774a1-hihope-rzg2m-rev2.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-rev2-ex.dts
| r8a774a1-hihope-rzg2m-rev2-ex.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.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.1.dts ||
|-
|-
| r8a774a1-hihope-rzg2m-rev2-ex-mipi-2.4.dts
| r8a774a1-hihope-rzg2m-rev2-ex-mipi-2.4.dts ||
|-
|-
| r8a774a3.dtsi
| r8a774a3.dtsi ||
|-
|-
| r8a774a3-hihope-rzg2m.dts
| r8a774a3-hihope-rzg2m.dts ||
|-
|-
| r8a774a3-hihope-rzg2m-ex.dts
| r8a774a3-hihope-rzg2m-ex.dts ||
|-
|-
| r8a774a3-hihope-rzg2m-ex-idk-1110wr.dts
| r8a774a3-hihope-rzg2m-ex-idk-1110wr.dts ||
|-
|-
| r8a774a3-hihope-rzg2m-ex-mipi-2.1.dts
| rzg2-advantech-idk-1110wr-panel.dtsi ||
|-
|-
| r8a774a3-hihope-rzg2m-ex-mipi-2.4.dts
| r8a774a3-hihope-rzg2m-ex-mipi-2.1.dts ||
|-
| r8a774a3-hihope-rzg2m-ex-mipi-2.4.dts ||
|}
|}


'''RZ/G2E EK874'''
'''RZ/G2E EK874'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| r8a774c0-cat874.dts
| r8a774c0.dtsi || RZ/G2E Device Tree containing all peripherals
|-
|-
| r8a774c0-cat874-revc.dts
| r8a774c0-cat874.dts ||
|-
|-
| r8a774c0.dtsi
| r8a774c0-cat874-revc.dts ||
|-
|-
| r8a774c0-ek874.dts
| r8a774c0-ek874.dts ||
|-
|-
| r8a774c0-ek874-idk-2121wr.dts
| r8a774c0-ek874-idk-2121wr.dts ||
|-
|-
| r8a774c0-ek874-mipi-2.1.dts
| r8a774c0-ek874-mipi-2.1.dts ||
|-
|-
| r8a774c0-ek874-mipi-2.4.dts
| r8a774c0-ek874-mipi-2.4.dts ||
|-
|-
| r8a774c0-ek874-revc.dts
| r8a774c0-ek874-revc.dts ||
|-
|-
| r8a774c0-ek874-revc-idk-2121wr.dts
| r8a774c0-ek874-revc-idk-2121wr.dts ||
|-
|-
| r8a774c0-ek874-revc-mipi-2.1.dts
| rzg2-advantech-idk-1110wr-panel.dtsi ||
|-
|-
| r8a774c0-ek874-revc-mipi-2.4.dts
| r8a774c0-ek874-revc-mipi-2.1.dts ||
|-
|-
| r8a774c0-es10-cat874.dts
| r8a774c0-ek874-revc-mipi-2.4.dts ||
|-
|-
| r8a774c0-es10.dtsi
| r8a774c0-es10-cat874.dts ||
|-
|-
| r8a774c0-es10-ek874.dts
| r8a774c0-es10.dtsi ||
|-
|-
| r8a774c0-es10-ek874-idk-2121wr.dts
| r8a774c0-es10-ek874.dts ||
|-
|-
| r8a774c0-es10-ek874-mipi-2.1.dts
| r8a774c0-es10-ek874-idk-2121wr.dts ||
|-
|-
| r8a774c0-es10-ek874-mipi-2.4.dts
| r8a774c0-es10-ek874-mipi-2.1.dts ||
|-
|-
| cat874-common.dtsi
| r8a774c0-es10-ek874-mipi-2.4.dts ||
|-
|-
| cat875.dtsi
| cat874-common.dtsi ||
|-
| cat875.dtsi ||
|-
|-
|}
|}


'''RZ/G2L SMARC'''
'''RZ/G2L SMARC'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| x ||
| r9a07g044.dtsi || RZ/G2L family SoC common parts
|-
| r9a07g044l.dtsi || Specific to RZ/G2L (R9A07G044L) SoC
|-
| r9a07g044l1.dtsi || Specific to RZ/G2L (R9A07G044L single cortex A55) SoC
|-
| r9a07g044l2.dtsi || Specific to RZ/G2L (R9A07G044L dual cortex A55) SoC
|-
| rz-smarc-common.dtsi ||
|-
| rzg2l-smarc.dtsi ||
|-
| rzg2l-smarc-pinfunction.dtsi ||
|-
| rzg2l-smarc-som.dtsi ||
|-
| r9a07g044l2-smarc.dts ||
|-
|-
|}
|}


'''RZ/G2LC SMARC'''
'''RZ/G2LC SMARC'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| x ||
| r9a07g044c1.dtsi ||Β  RZ/G2LC Device Tree containing all peripherals
|-
| r9a07g044c2.dtsi || RZ/G2LC Device Tree containing all peripherals
|-
| r9a07g044c2-smarc.dts ||
|-
| rzg2lc-smarc.dtsi ||
|-
| rzg2lc-smarc-pinfunction.dtsi ||
|-
| rzg2lc-smarc-som.dtsi ||
|-
|-
|}
|}


'''RZ/G2UL SMARC'''
'''RZ/G2UL SMARC'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| x ||
| rzg2ul-smarc.dtsi ||
|-
| r9a07g043.dtsi || RZ/G2UL Device Tree containing all peripherals
|-
| r9a07g043u11.dtsi ||
|-
| r9a07g043u11-smarc.dts ||
|-
| r9a07g043u12.dtsi ||
|-
|-
|}
|}


'''RZ/V2L SMARC'''
'''RZ/V2L SMARC'''
{| class="wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
|-
! File !! Description
! File !! Description
|-
|-
| x ||
| r9a07g054.dtsi || RZ/V2L Device Tree containing all peripherals
|-
| r9a07g054l1.dtsi ||
|-
| r9a07g054l2-dev.dts ||
|-
| r9a07g054l2.dtsi ||
|-
| r9a07g054l2-smarc.dts ||
|-
|-
|}
|}


r9a07g043.dtsi
Internal Renesas boards
r9a07g043u11.dtsi
* r9a07g044l2-dev.dts
r9a07g043u11-smarc.dts
* rzg2l-smarc-dev.dtsi
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=
=Device Tree Syntax=

Revision as of 16:21, 11 August 2022


← 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

(Click to Expand)    
File Description
r8a774e1.dtsi RZ/G2H Device Tree containing all peripherals
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-hihope-rzg2h.dts
r8a774e1-hihope-rzg2h-ex.dts
r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts
rzg2-advantech-idk-1110wr-panel.dtsi
r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts
r8a774e1-hihope-rzg2h-ex-mipi-2.4.dts

RZ/G2N HiHope

(Click to Expand)    
File Description
r8a774b1.dtsi RZ/G2N Device Tree containing all peripherals
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
rzg2-advantech-idk-1110wr-panel.dtsi
r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.1.dts
r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.4.dts

RZ/G2M HiHope

(Click to Expand)    
File Description
r8a774a1.dtsi RZ/G2M Device Tree containing all peripherals
r8a774a1-hihope-rzg2m.dts
r8a774a1-hihope-rzg2m-ex.dts
r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts
rzg2-advantech-idk-1110wr-panel.dtsi
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
rzg2-advantech-idk-1110wr-panel.dtsi
r8a774a3-hihope-rzg2m-ex-mipi-2.1.dts
r8a774a3-hihope-rzg2m-ex-mipi-2.4.dts

RZ/G2E EK874

(Click to Expand)    
File Description
r8a774c0.dtsi RZ/G2E Device Tree containing all peripherals
r8a774c0-cat874.dts
r8a774c0-cat874-revc.dts
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
rzg2-advantech-idk-1110wr-panel.dtsi
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

(Click to Expand)    
File Description
r9a07g044.dtsi RZ/G2L family SoC common parts
r9a07g044l.dtsi Specific to RZ/G2L (R9A07G044L) SoC
r9a07g044l1.dtsi Specific to RZ/G2L (R9A07G044L single cortex A55) SoC
r9a07g044l2.dtsi Specific to RZ/G2L (R9A07G044L dual cortex A55) SoC
rz-smarc-common.dtsi
rzg2l-smarc.dtsi
rzg2l-smarc-pinfunction.dtsi
rzg2l-smarc-som.dtsi
r9a07g044l2-smarc.dts

RZ/G2LC SMARC

(Click to Expand)    
File Description
r9a07g044c1.dtsi RZ/G2LC Device Tree containing all peripherals
r9a07g044c2.dtsi RZ/G2LC Device Tree containing all peripherals
r9a07g044c2-smarc.dts
rzg2lc-smarc.dtsi
rzg2lc-smarc-pinfunction.dtsi
rzg2lc-smarc-som.dtsi

RZ/G2UL SMARC

(Click to Expand)    
File Description
rzg2ul-smarc.dtsi
r9a07g043.dtsi RZ/G2UL Device Tree containing all peripherals
r9a07g043u11.dtsi
r9a07g043u11-smarc.dts
r9a07g043u12.dtsi

RZ/V2L SMARC

(Click to Expand)    
File Description
r9a07g054.dtsi RZ/V2L Device Tree containing all peripherals
r9a07g054l1.dtsi
r9a07g054l2-dev.dts
r9a07g054l2.dtsi
r9a07g054l2-smarc.dts

Internal Renesas boards

  • r9a07g044l2-dev.dts
  • rzg2l-smarc-dev.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