arch/riscv/boot/dts/microchip/mpfs-tysom-m.dts

Source file repositories/reference/linux-study-clean/arch/riscv/boot/dts/microchip/mpfs-tysom-m.dts

File Facts

System
Linux kernel
Corpus path
arch/riscv/boot/dts/microchip/mpfs-tysom-m.dts
Extension
.dts
Size
3222 bytes
Lines
178
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
/*
 * Original all-in-one devicetree:
 * Copyright (C) 2020-2022 - Aldec
 * Rewritten to use includes:
 * Copyright (C) 2022 - Conor Dooley <conor.dooley@microchip.com>
 */

/dts-v1/;

#include "mpfs.dtsi"
#include "mpfs-tysom-m-fabric.dtsi"

/ {
	model = "Aldec TySOM-M-MPFS250T-REV2";
	compatible = "aldec,tysom-m-mpfs250t-rev2", "microchip,mpfs";

	aliases {
		ethernet0 = &mac0;
		ethernet1 = &mac1;
		serial0 = &mmuart0;
		serial1 = &mmuart1;
		serial2 = &mmuart2;
		serial3 = &mmuart3;
		serial4 = &mmuart4;
		gpio0 = &gpio0;
		gpio1 = &gpio2;
	};

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

	ddrc_cache_lo: memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x30000000>;
		status = "okay";
	};

	ddrc_cache_hi: memory@1000000000 {
		device_type = "memory";
		reg = <0x10 0x00000000 0x0 0x40000000>;
		status = "okay";
	};

	leds {
		compatible = "gpio-leds";
		status = "okay";

		led0 {
			gpios = <&gpio1 23 1>;
			default-state = "on";
			linux,default-trigger = "heartbeat";
		};
	};
};

&i2c0 {
	status = "okay";
};

&i2c1 {
	status = "okay";
	hwmon: hwmon@45 {
		status = "okay";
		compatible = "ti,ina219";
		reg = <0x45>;
		shunt-resistor = <2000>;
	};
};

Annotation

Implementation Notes