arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts
Extension
.dts
Size
5707 bytes
Lines
272
Domain
Architecture Layer
Bucket
arch/arm64
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) 2022 Wesion, Inc. All rights reserved.
 */

/dts-v1/;

#include "amlogic-t7.dtsi"
#include <dt-bindings/gpio/amlogic,t7-periphs-pinctrl.h>
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Khadas VIM4";
	compatible = "khadas,vim4", "amlogic,a311d2", "amlogic,t7";

	aliases {
		serial0 = &uart_a;
		mmc0 = &sd_emmc_c;
		mmc1 = &sd_emmc_b;
		mmc2 = &sd_emmc_a;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x0 0x0 0xE0000000
			0x1 0x0 0x0 0xE0000000
			0x2 0x0 0x0 0x40000000>; /* 8 GB */
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		/* 3 MiB reserved for ARM Trusted Firmware (BL31) */
		secmon_reserved: secmon@5000000 {
			reg = <0x0 0x05000000 0x0 0x300000>;
			no-map;
		};

		/* 32 MiB reserved for ARM Trusted Firmware (BL32) */
		secmon_reserved_bl32: secmon@5300000 {
			reg = <0x0 0x05300000 0x0 0x2000000>;
			no-map;
		};
	};

	dc_in: regulator-dc-in {
		compatible = "regulator-fixed";
		regulator-name = "DC_IN";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
	};

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

		status {
			linux,default-trigger="heartbeat";
			max-brightness = <255>;
			pwms = <&pwm_ao_cd 0 30040 0>;
		};
	};

	sd_3v3: regulator-sdcard-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "SD_3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;

Annotation

Implementation Notes