arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts
Extension
.dts
Size
9739 bytes
Lines
363
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/*
 * Device Tree Source for the RZ/T2H EVK board
 *
 * Copyright (C) 2025 Renesas Electronics Corp.
 */

/dts-v1/;

#include <dt-bindings/input/input.h>

#include "r9a09g077m44.dtsi"

/*
 * SD0 can be connected to either eMMC (IC49) or SD card slot CN31
 * Lets by default enable the eMMC, note we need the below SW settings
 * for eMMC. Also ensure that CN78 pins 5 and 6 are connected with a jumper
 * to provide the SD0 power supply when using eMMC.
 * SW2[1] = ON; SW2[2] = ON
 *
 * To enable SD card and disable eMMC on SDHI0 disable the below macro
 * and set the switch as follows. Also ensure that CN78 pins 3 and 4 are connected
 * with a jumper to provide the SD0 power supply when using an SD card.
 *
 * SW2[1] = OFF; SW2[2] = ON.
 */
#define SD0_EMMC	1
#define SD0_SD		(!SD0_EMMC)

/*
 * P17_4 = SD1_CD; SW2[3] = ON
 * P08_5 = SD1_PWEN; SW2[3] = ON
 * P08_6 = SD1_IOVS; SW2[3] = ON; SW5[3] = OFF; SW5[4] = ON
 * To enable proper operation in 1.8V modes, CN77 must have pins 2 and 3
 * connected by the jumper. This connects SD1 power-supply control IC output
 * back to VCC1833_7.
 */
#define SD1_MICRO_SD	1

/*
 * USB Pin Configuration:
 *
 * This board is equipped with three USB connectors: Type-A (CN80), Mini-B
 * (CN79), and Micro-AB (CN33). The RZ/T2H SoC has a single USB channel, so
 * either the USB host interface or the USB function interface can be used,
 * but not both simultaneously when using the CN79 and CN80 connectors.
 *
 * By default, the Type-A (CN80) and Mini-B (CN79) connectors are enabled.
 * Configure the switches as follows:
 *   - P00_0 - P00_2 (control signals for USB power supply): SW1[5] = ON
 *   - USB_VBUSIN (used for USB function): SW7[7] = OFF; SW7[8] = ON
 *   - USB_VBUSEN (used for USB_HF_VBUSEN): SW7[9] = OFF; SW7[10] = ON
 *
 * To enable the Micro-AB (CN33) USB OTG connector, set the following macro
 * to 1 and configure the switches as follows:
 *   - P00_0 - P00_2 (control signals for USB power supply): SW1[5] = ON
 *   - USB_VBUSIN (used for USB OTG): SW7[7] = ON; SW7[8] = OFF
 *   - USB_VBUSEN (used for USB_OTG_VBUSEN): SW7[9] = ON; SW7[10] = OFF
 */
#define USB_OTG		0

#include "rzt2h-n2h-evk-common.dtsi"

/ {
	model = "Renesas RZ/T2H EVK Board based on r9a09g077m44";
	compatible = "renesas,rzt2h-evk", "renesas,r9a09g077m44", "renesas,r9a09g077";

	keys {
		compatible = "gpio-keys";

Annotation

Implementation Notes