arch/arm/boot/dts/marvell/armada-370-c200-v2.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/marvell/armada-370-c200-v2.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/marvell/armada-370-c200-v2.dts
Extension
.dts
Size
7206 bytes
Lines
389
Domain
Architecture Layer
Bucket
arch/arm
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-later OR MIT)
/*
 * Device Tree file for Ctera C200-V2
 *
 * Copyright (C) 2022 Pawel Dembicki <paweldembicki@gmail.com>
 */

/dts-v1/;

#include "armada-370.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "Ctera C200 V2";
	compatible = "ctera,c200-v2", "marvell,armada370", "marvell,armada-370-xp";

	chosen {
		bootargs = "console=ttyS0,115200";
		stdout-path = "serial0:115200n8";
	};

	memory {
		device_type = "memory";
		reg = <0x00000000 0x40000000>; /* 1024 MB */
	};

	soc {
		ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
			  MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000
			  MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
	};

	thermal-zones {
		ethphy-thermal {
			polling-delay = <20000>;
			polling-delay-passive = <2000>;

			thermal-sensors = <&ethphy0>;

			trips {
				ethphy_alert1: trip1 {
					temperature = <65000>;
					hysteresis = <4000>;
					type = "passive";
				};

				ethphy_crit: trip2 {
					temperature = <100000>;
					hysteresis = <2000>;
					type = "critical";
				};
			};
		};
	};

	beeper {
		compatible = "pwm-beeper";
		pinctrl-0 = <&pmx_beeper>;
		pinctrl-names = "default";
		pwms = <&gpio1 31 4000>;
	};

	gpio-poweroff {
		compatible = "gpio-poweroff";
		pinctrl-0 = <&pmx_poweroff>;
		pinctrl-names = "default";
		gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;

Annotation

Implementation Notes