arch/riscv/boot/dts/starfive/jh7100-common.dtsi

Source file repositories/reference/linux-study-clean/arch/riscv/boot/dts/starfive/jh7100-common.dtsi

File Facts

System
Linux kernel
Corpus path
arch/riscv/boot/dts/starfive/jh7100-common.dtsi
Extension
.dtsi
Size
8249 bytes
Lines
401
Domain
Architecture Layer
Bucket
arch/riscv
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 OR MIT
/*
 * Copyright (C) 2021 StarFive Technology Co., Ltd.
 * Copyright (C) 2021 Emil Renner Berthing <kernel@esmil.dk>
 */

/dts-v1/;
#include "jh7100.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h>

/ {
	aliases {
		mmc0 = &sdio0;
		mmc1 = &sdio1;
		serial0 = &uart3;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	cpus {
		timebase-frequency = <6250000>;
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x2 0x0>;
	};

	leds {
		compatible = "gpio-leds";

		led-ack {
			gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_HEARTBEAT;
			linux,default-trigger = "heartbeat";
			label = "ack";
		};
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		dma-reserved@fa000000 {
			reg = <0x0 0xfa000000 0x0 0x1000000>;
			no-map;
		};

		linux,dma@107a000000 {
			compatible = "shared-dma-pool";
			reg = <0x10 0x7a000000 0x0 0x1000000>;
			no-map;
			linux,dma-default;
		};
	};

	soc {
		dma-ranges = <0x00 0x80000000 0x00 0x80000000 0x00 0x7a000000>,
			     <0x00 0xfa000000 0x10 0x7a000000 0x00 0x01000000>,
			     <0x00 0xfb000000 0x00 0xfb000000 0x07 0x85000000>;
	};

	wifi_pwrseq: wifi-pwrseq {
		compatible = "mmc-pwrseq-simple";

Annotation

Implementation Notes