arch/riscv/boot/dts/spacemit/k3-pico-itx.dts

Source file repositories/reference/linux-study-clean/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts

File Facts

System
Linux kernel
Corpus path
arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
Extension
.dts
Size
4742 bytes
Lines
224
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) 2026 SpacemiT (Hangzhou) Technology Co. Ltd
 * Copyright (c) 2026 Guodong Xu <guodong@riscstar.com>
 */
#include <dt-bindings/gpio/gpio.h>

#include "k3.dtsi"
#include "k3-pinctrl.dtsi"

/ {
	model = "SpacemiT K3 Pico-ITX";
	compatible = "spacemit,k3-pico-itx", "spacemit,k3";

	aliases {
		ethernet0 = &eth0;
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0";
	};

	memory@100000000 {
		device_type = "memory";
		reg = <0x1 0x00000000 0x4 0x00000000>;
	};

	reg_aux_vcc3v3: regulator-aux-vcc3v3 {
		compatible = "regulator-fixed";
		regulator-name = "AUX_VCC3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};

	reg_aux_vcc5v: regulator-aux-vcc5v {
		compatible = "regulator-fixed";
		regulator-name = "AUX_VCC5V";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
	};
};

&i2c8 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c8_cfg>;
	status = "okay";

	p1@41 {
		compatible = "spacemit,p1";
		reg = <0x41>;
		interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
		vin1-supply = <&reg_aux_vcc5v>;
		vin2-supply = <&reg_aux_vcc5v>;
		vin3-supply = <&reg_aux_vcc5v>;
		vin4-supply = <&reg_aux_vcc5v>;
		vin5-supply = <&reg_aux_vcc5v>;
		vin6-supply = <&reg_aux_vcc5v>;
		aldoin-supply = <&reg_aux_vcc5v>;
		dldoin1-supply = <&buck4>;
		dldoin2-supply = <&buck4>;

		regulators {
			buck1: buck1 {
				regulator-min-microvolt = <1050000>;
				regulator-max-microvolt = <1050000>;
				regulator-ramp-delay = <5000>;
				regulator-always-on;

Annotation

Implementation Notes