arch/mips/boot/dts/img/pistachio_marduk.dts

Source file repositories/reference/linux-study-clean/arch/mips/boot/dts/img/pistachio_marduk.dts

File Facts

System
Linux kernel
Corpus path
arch/mips/boot/dts/img/pistachio_marduk.dts
Extension
.dts
Size
2684 bytes
Lines
162
Domain
Architecture Layer
Bucket
arch/mips
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-only
/*
 * Copyright (C) 2015, 2016 Imagination Technologies Ltd.
 *
 * IMG Marduk board is also known as Creator Ci40.
 */

/dts-v1/;

#include "pistachio.dtsi"

/ {
	model = "IMG Marduk (Creator Ci40)";
	compatible = "img,pistachio-marduk", "img,pistachio";

	aliases {
		serial0 = &uart0;
		serial1 = &uart1;
		ethernet0 = &enet;
		spi0 = &spfi0;
		spi1 = &spfi1;
	};

	chosen {
		bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
		stdout-path = "serial1:115200";
	};

	memory {
		device_type = "memory";
		reg =  <0x00000000 0x10000000>;
	};

	reg_1v8: fixed-regulator {
		compatible = "regulator-fixed";
		regulator-name = "aux_adc_vref";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-boot-on;
	};

	internal_dac_supply: internal-dac-supply {
		compatible = "regulator-fixed";
		regulator-name = "internal_dac_supply";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
	};

	led-controller {
		compatible = "pwm-leds";

		led-1 {
			label = "marduk:red:heartbeat";
			pwms = <&pwm 3 300000>;
			max-brightness = <255>;
			linux,default-trigger = "heartbeat";
		};
	};

	keys {
		compatible = "gpio-keys";
		button-1 {
			label = "Button 1";
			linux,code = <0x101>; /* BTN_1 */
			gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
		};
		button-2 {
			label = "Button 2";
			linux,code = <0x102>; /* BTN_2 */
			gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;

Annotation

Implementation Notes