Device Tree and Device Drivers

Device Tree and Device Drivers

This page contains helpful notes about Device Tree configurations and Device Driver details.

Table of Contents

BSP Manual Set

Documentation for the Linux Device Drivers contained in the Renesas BSP releases are released in a package called the "BSP Manual Set".

Use the links below for the SoC that you are using.

RZ Evaluation Board 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.

  • Because the evaluation kits share common boards, and have many different test/demo configurations, there are many include files (.dtsi) for any single device tree (.dts) build. For your custom board, you might only need your Device Tree for your board (my_board.dst) and that will only #include one other file which will be the base SoC file (RZ/G2H for example will #include "r8a774e1.dtsi").

  • RZ board names that end in "-dev" are internal Renesas boards. While their Device Trees files appear in the BSP, they are not mainlined.

If you want to see a list of which peripheral nodes are set in each dtsi file, you can use this "dts_parser" tool below. For example, you want to find all the the .dtsi files that configure the i2c channels because you are looking for examples.

 

RZ/G3 Series

File

Description

File

Description

r9a09g047.dtsi

RZ/G3E Device Tree containing all peripherals.

 

 

r9a09g047e57-smarc.dts

Top level Device Tree

r9a09g047e57-smarc.dts
└─rzg3e-smarc-common.dtsi
│ ├─r9a09g047.dtsi
│ ├─rzg3e-smarc-som.dtsi
│ └─rzg3e-smarc.dtsi
├─rzg3e-smarc-lvds.dtsi
└─rzg3e-smarc-rgb.dtsi

File

Description

File

Description

r9a08g045.dtsi

RZ/G3S Device Tree containing all peripherals.

r9a08g045s33.dtsi

RZ/G3S Device Tree containing all peripherals. Includes PCIe.

 

 

r9a08g045s33-smarc.dts

Top level Device Tree

r9a08g045s33-smarc.dts
├─r9a08g045s33.dtsi
│ └─r9a08g045.dtsi
├─rzg3s-smarc-som.dtsi
└─rzg3s-smarc.dtsi

 

RZ/G2 Series

File

Description

File

Description

r8a774e1.dtsi

RZ/G2H Device Tree containing all peripherals

 

 

r8a774e1-hihope-rzg2h.dts

Main board only

r8a774e1-hihope-rzg2h.dts ├─r8a774e1.dtsi └─hihope-rev4.dtsi └─hihope-common.dtsi

r8a774e1-hihope-rzg2h-ex.dts

Main board + Sub board

r8a774e1-hihope-rzg2h-ex.dts ├─r8a774e1-hihope-rzg2h.dts │ ├─r8a774e1.dtsi │ └─hihope-rev4.dtsi │ └─hihope-common.dtsi └─hihope-rzg2-ex.dtsi

r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts

Main board + Sub board + LVDS panel

r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts ├─r8a774e1-hihope-rzg2h-ex.dts │ ├─r8a774e1-hihope-rzg2h.dts │ │ ├─r8a774e1.dtsi │ │ └─hihope-rev4.dtsi │ │ └─hihope-common.dtsi │ └─hihope-rzg2-ex.dtsi ├─hihope-rzg2-ex-lvds.dtsi └─rzg2-advantech-idk-1110wr-panel.dtsi

r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts

Main board + Sub board + MIPI-CSI2 cameras

r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts ├─r8a774e1-hihope-rzg2h-ex.dts │ ├─r8a774e1-hihope-rzg2h.dts │ │ ├─r8a774e1.dtsi │ │ └─hihope-rev4.dtsi │ │ └─hihope-common.dtsi │ └─hihope-rzg2-ex.dtsi └─hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi └─aistarvision-mipi-adapter-2.1.dtsi

r8a774e1-hihope-rzg2h-ex-mipi-2.4.dts

Main board + Sub board + MIPI-CSI2 cameras

r8a774e1-hihope-rzg2h-ex-mipi-2.4.dts ├─r8a774e1-hihope-rzg2h-ex.dts │ ├─r8a774e1-hihope-rzg2h.dts │ │ ├─r8a774e1.dtsi │ │ └─hihope-rev4.dtsi │ │ └─hihope-common.dtsi │ └─hihope-rzg2-ex.dtsi └─hihope-rzg2-ex-aistarvision-mipi-adapter-2.4.dtsi └─aistarvision-mipi-adapter-2.4.dtsi

File

Description

File

Description

r8a774a1.dtsi

RZ/G2M Device Tree containing all peripherals

 

 

r8a774a1-hihope-rzg2m.dts

Main board only

r8a774a1-hihope-rzg2m-ex.dts

Main board + Sub board

r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts

Main board + Sub board + LVDS panel

rzg2-advantech-idk-1110wr-panel.dtsi

Main board + Sub board + LVDS panel

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

Main board + Sub board + MIPI/CSI2 cameras

r8a774a1-hihope-rzg2m-rev2-ex-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras

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

Main board + Sub board + MIPI/CSI2 cameras

r8a774a3-hihope-rzg2m-ex-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras

File

Description

File

Description

r8a774b1.dtsi

RZ/G2N Device Tree containing all peripherals

 

 

r8a774b1-hihope-rzg2n.dts

Main board only

r8a774b1-hihope-rzg2n-ex.dts

Main board + Sub board

r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts

Main board + Sub board + LVDS panel

r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts

Main board + Sub board + MIPI/CSI2 cameras

r8a774b1-hihope-rzg2n-ex-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras

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

Main board + Sub board + MIPI/CSI2 cameras

r8a774b1-hihope-rzg2n-rev2-ex-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras

File

Description

File

Description

r8a774c0.dtsi

RZ/G2E Device Tree containing all peripherals

 

 

r8a774c0-cat874.dts

Main board only

r8a774c0-cat874.dts ├─r8a774c0.dtsi └─cat874-common.dtsi

r8a774c0-ek874.dts

Main board + Sub board

r8a774c0-ek874.dts ├─r8a774c0-cat874.dts │ ├─r8a774c0.dtsi │ └─cat874-common.dtsi └─cat875.dtsi

r8a774c0-ek874-idk-2121wr.dts

Main board + Sub board + LVDS panel

r8a774c0-ek874-mipi-2.1.dts

Main board + Sub board + MIPI/CSI2 cameras

r8a774c0-ek874-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras

r8a774c0-cat874-revc.dts

Main board only (older Rev C board)

r8a774c0-ek874-revc.dts

Main board + Sub board (older Rev C board)

r8a774c0-ek874-revc-idk-2121wr.dts

Main board + Sub board + LVDS panel (older Rev C board)

r8a774c0-ek874-revc-mipi-2.1.dts

Main board + Sub board + MIPI/CSI2 cameras (older Rev C board)

r8a774c0-ek874-revc-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras (older Rev C board)

r8a774c0-es10-cat874.dts

Main board only (older Rev 1.0 board)

r8a774c0-es10-ek874.dts

Main board + Sub board (older Rev 1.0 board)

r8a774c0-es10-ek874-idk-2121wr.dts

Main board + Sub board + LVDS panel (older Rev 1.0 board)

r8a774c0-es10-ek874-mipi-2.1.dts

Main board + Sub board + MIPI/CSI2 cameras (older Rev 1.0 board)

r8a774c0-es10-ek874-mipi-2.4.dts

Main board + Sub board + MIPI/CSI2 cameras (older Rev 1.0 board

File

Description

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

 

 

r9a07g044l2-smarc.dts

Top level Device Tree

Included files:

r9a07g044l2-smarc.dts ├─r9a07g044l2.dtsi │ └─r9a07g044.dtsi ├─rzg2l-smarc-som.dtsi ├─rzg2l-smarc-pinfunction.dtsi ├─rz-smarc-common.dtsi └─rzg2l-smarc.dtsi

File

Description

File

Description

r9a07g044c1.dtsi

RZ/G2LC Device Tree containing all peripherals

r9a07g044c2.dtsi

RZ/G2LC Device Tree containing all peripherals

 

 

r9a07g044c2-smarc.dts

Top level Device Tree

Included files:

r9a07g044c2-smarc.dts ├─r9a07g044c2.dtsi │ └─r9a07g044.dtsi └─rzg2lc-smarc.dtsi ├─rzg2lc-smarc-som.dtsi ├─rzg2lc-smarc-pinfunction.dtsi └─rz-smarc-common.dtsi

File

Description

File

Description

r9a07g043.dtsi

RZ/G2UL Device Tree containing all peripherals

 

 

r9a07g043u11-smarc.dts

Top level Device Tree included files:

r9a07g043u11-smarc.dts ├─r9a07g043.dtsi └─rzg2ul-smarc.dtsi ├─rzg2ul-smarc-som.dtsi ├─rzg2ul-smarc-pinfunction.dtsi └─rz-smarc-common.dtsi

 

RZ/V2 Series

File

Description

File

Description

r9a09g057.dtsi

RZ/V2H Device Tree containing all peripherals.

 

 

r9a09g057h4-evk-ver1.dts

Top level Device Tree included files:

r9a09g057h4-evk-ver1.dts
└─r9a09g057.dtsi

File

Description

File

Description

r9a09g056.dtsi

RZ/V2N Device Tree containing all peripherals.

 

 

r9a09g056n44-evk.dts

Top level Device Tree included files:

r9a09g056n44-evk.dts
└─r9a09g056.dtsi

File

Description

File

Description

r9a07g054.dtsi

RZ/V2L Device Tree containing all peripherals.

r9a07g054l1.dtsi

RZ/V2L Single Core CA55 version

r9a07g054l2.dtsi

RZ/V2L Dual Core CA55 version

 

 

r9a07g054l2-smarc.dts

Top level Device Tree included files:

r9a07g054l2-smarc.dts ├─r9a07g054l2.dtsi
│ └─r9a07g054.dtsi ├─rzg2l-smarc-som.dtsi ├─rzg2l-smarc-pinfunction.dtsi ├─rz-smarc-common.dtsi
└─rzg2l-smarc.dtsi

 

SoC IDs

File in mainline that defines Renesas SoC IDs

 

Example of tables below:

SoC

CONFIG

.compatible =

pfc

Device Tree

Misc

SoC

CONFIG

.compatible =

pfc

Device Tree

Misc

RZ/G2H

CONFIG_ARCH_R8A774E1

"renesas,r8a774e1"

pfc-r8a7795.c

r8a774a1.dtsi

 

.

RZ/G3 Series

SoC

CONFIG

.compatible =

pfc

Device Tree

Misc

SoC

CONFIG

.compatible =

pfc

Device Tree

Misc

RZ/G3S

CONFIG_ARCH_R9A08G045

"renesas,r9a08g045"

"renesas,r9a08g045", "renesas,r9a08g045s33" (with PCIEe)

 

 

 

RZ/G3E

CONFIG_ARCH_R9A09G047

"renesas,r9a09g047";

 

 

r9a09g047-cpg.c

 

 

 

 

 

 

.

RZ/G2 Series

SoC

CONFIG

.compatible =

pfc

Device Tree

Misc

SoC

CONFIG

.compatible =

pfc

Device Tree

Misc

RZ/G2H

CONFIG_ARCH_R8A774E1

"renesas,r8a774e1"

pfc-r8a7795.c

r8a774a1.dtsi

 

RZ/G2M(v3.0)

CONFIG_ARCH_R8A774A3

"renesas,r8a774a3"

pfc-r8a7796.c

r8a774a3.dtsi