RZ-G/RZG DeviceTree: Difference between revisions

From Renesas.info
(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...")
 
Line 13: Line 13:
<pre>
<pre>
/ {
/ {
model = "My Really Cool RZ/G2L Board";
compatible = "my-rzg2l-board" , "renesas,r9a07g044";
compatible = "my-rzg2l-board" , "renesas,r9a07g044";
#address-cells = <2>;
 
#size-cells = <2>;
chosen {
bootargs = "ignore_loglevel rw root=/dev/mmc0blk1";
stdout-path = "serial0:115200n8";
};
 
};
};
</pre>
</pre>


=Display=
=Display=

Revision as of 16:37, 2 August 2022


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:

/ {
	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