RZ-G/RZG DeviceTree: Difference between revisions

From Renesas.info
Line 9: Line 9:
* Below is the list of Device Tree files used for the Renesas Evaluation boards.
* Below is the list of Device Tree files used for the Renesas Evaluation boards.


'''RZ/G2H HiHope'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2H HiHope'''                
|-
|-
! File !! Description
! File !! Description
Line 44: Line 43:
|}
|}


'''RZ/G2N HiHope'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2N HiHope'''                
|-
|-
! File !! Description
! File !! Description
Line 76: Line 74:
|}
|}


'''RZ/G2M HiHope'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2M HiHope'''                
|-
|-
! File !! Description
! File !! Description
Line 121: Line 118:
|}
|}


'''RZ/G2E EK874'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2E EK874'''                
|-
|-
! File !! Description
! File !! Description
Line 169: Line 165:
|}
|}


'''RZ/G2L SMARC'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2L SMARC'''                  
|-
|-
! File !! Description
! File !! Description
Line 195: Line 190:
|}
|}


'''RZ/G2LC SMARC'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2LC SMARC'''                
|-
|-
! File !! Description
! File !! Description
Line 215: Line 209:
|}
|}


'''RZ/G2UL SMARC'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/G2UL SMARC'''                
|-
|-
! File !! Description
! File !! Description
Line 233: Line 226:
|}
|}


'''RZ/V2L SMARC'''
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| (Click to Expand)    
| '''RZ/V2L SMARC'''                
|-
|-
! File !! Description
! File !! Description

Revision as of 12:45, 15 August 2022


← RZ-G

  • This page contains helpful notes about Device Tree configurations

RZ Specific 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
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                
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                
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                
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                  
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                
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                
File Description
rzg2ul-smarc.dtsi
r9a07g043.dtsi RZ/G2UL Device Tree containing all peripherals
r9a07g043u11.dtsi
r9a07g043u11-smarc.dts
r9a07g043u12.dtsi
RZ/V2L SMARC                
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