Device Tree

From Renesas.info
Revision as of 16:33, 2 August 2022 by Seebe (talk | contribs) (Created page with "__FORCETOC__ {{DISPLAYTITLE:Device Tree}} ← RZ-G * This page contains helpful notes about Device Tree configurations =Device Tree Syntax= =Top Level (root node)= ==Co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


RZ-G

  • This page contains helpful notes about Device Tree configurations

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 origonal string. The reason is that some drivers look for that string to know what SoC they are running on. If it is missing, it will not load.

Here is a correct example of a .dts file:

/ {
	compatible = "my-rzg2l-board" , "renesas,r9a07g044";
	#address-cells = <2>;
	#size-cells = <2>;
};


Display

Audio

Camera

Ethernet

USB

SD Card

eMMC

I2C

SPI

QSPI Flash

UART

CAN

ADC

WDT

PWM

Timer