arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts

Source file repositories/reference/linux-study-clean/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts

File Facts

System
Linux kernel
Corpus path
arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts
Extension
.dts
Size
7782 bytes
Lines
407
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) 2024 Yangyu Chen <cyy@cyyself.name>
 * Copyright (C) 2025 SpacemiT, Inc
 * Copyright (C) 2025 Troy Mitchell <troy.mitchell@linux.spacemit.com>
 */

/dts-v1/;

#include "k1.dtsi"
#include "k1-pinctrl.dtsi"

/ {
	model = "SpacemiT MusePi Pro";
	compatible = "spacemit,musepi-pro", "spacemit,k1";

	aliases {
		ethernet0 = &eth0;
		serial0 = &uart0;
		i2c2 = &i2c2;
		i2c8 = &i2c8;
		mmc0 = &emmc;
		mmc1 = &sdhci0;
	};

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

	leds {
		compatible = "gpio-leds";

		led1 {
			label = "sys-led";
			gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			default-state = "on";
		};
	};

	reg_pcie_vcc_3v3: regulator-pcie-vcc3v3 {
		compatible = "regulator-fixed";
		regulator-name = "PCIE_VCC3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};

	reg_vcc_4v: regulator-vcc-4v {
		compatible = "regulator-fixed";
		regulator-name = "VCC4V0";
		regulator-min-microvolt = <4000000>;
		regulator-max-microvolt = <4000000>;
		regulator-boot-on;
		regulator-always-on;
	};

	reg_qspi_vcc1v833: regulator-qspi-vcc1v833 {
		compatible = "regulator-fixed";
		regulator-name = "QSPI_VCC1833";
		regulator-min-microvolt = <1833000>;
		regulator-max-microvolt = <1833000>;
		regulator-always-on;
		vin-supply = <&buck4_3v3>;
	};

	reg_5v_vbus: regulator-5v-vbus {
		compatible = "regulator-fixed";
		regulator-name = "5V_VBUS";
		regulator-min-microvolt = <5000000>;

Annotation

Implementation Notes