arch/arm/boot/dts/renesas/r7s72100-genmai.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/renesas/r7s72100-genmai.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/renesas/r7s72100-genmai.dts
Extension
.dts
Size
6400 bytes
Lines
319
Domain
Architecture Layer
Bucket
arch/arm
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
/*
 * Device Tree Source for the Genmai board
 *
 * Copyright (C) 2013-14 Renesas Solutions Corp.
 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
 */

/dts-v1/;
#include "r7s72100.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>

/ {
	model = "Genmai";
	compatible = "renesas,genmai", "renesas,r7s72100";

	aliases {
		serial0 = &scif2;
	};

	chosen {
		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
		stdout-path = "serial0:115200n8";
	};

	flash@18000000 {
		compatible = "mtd-rom";
		reg = <0x18000000 0x08000000>;
		bank-width = <4>;
		device-width = <1>;

		clocks = <&mstp9_clks R7S72100_CLK_SPIBSC0>;
		power-domains = <&cpg_clocks>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "user";
				reg = <0x00000000 0x04000000>;
			};

			partition@4000000 {
				label = "user1";
				reg = <0x04000000 0x04000000>;
			};
		};
	};

	keyboard {
		compatible = "gpio-keys";

		pinctrl-names = "default";
		pinctrl-0 = <&keyboard_pins>;

		key-1 {
			/* JP3 must be set to 1-2 (default) */
			interrupts-extended = <&irqc 6 IRQ_TYPE_EDGE_BOTH>;
			linux,code = <KEY_1>;
			label = "SW6,SW7";
			wakeup-source;
		};
	};

	leds {
		/* Needs SDHI0 to be disabled */

Annotation

Implementation Notes