arch/arm64/boot/dts/amlogic/meson-s4-s905y4-khadas-vim1s.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/amlogic/meson-s4-s905y4-khadas-vim1s.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/amlogic/meson-s4-s905y4-khadas-vim1s.dts
Extension
.dts
Size
6609 bytes
Lines
341
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) 2026 Khadas Technology Co., Ltd.
 */

/dts-v1/;

#include "meson-s4.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "Khadas VIM1S";
	compatible = "khadas,vim1s", "amlogic,s905y4", "amlogic,s4";
	interrupt-parent = <&gic>;
	#address-cells = <2>;
	#size-cells = <2>;

	aliases {
		mmc0 = &emmc; /* eMMC */
		mmc1 = &sd; /* SD card */
		mmc2 = &sdio; /* SDIO */
		rtc0 = &rtc;
		rtc1 = &vrtc;
		serial0 = &uart_b;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x0 0x0 0x80000000>;
	};

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

		/* 52 MiB reserved for ARM Trusted Firmware */
		secmon_reserved: secmon@5000000 {
			reg = <0x0 0x05000000 0x0 0x3400000>;
			no-map;
		};
	};

	adc-keys {
		compatible = "adc-keys";
		io-channels = <&saradc 0>;
		io-channel-names = "buttons";
		keyup-threshold-microvolt = <1710000>;
		poll-interval = <100>;

		button-function {
			label = "Function";
			linux,code = <KEY_FN>;
			press-threshold-microvolt = <10000>;
		};
	};

	emmc_pwrseq: emmc-pwrseq {
		compatible = "mmc-pwrseq-emmc";
		reset-gpios = <&gpio GPIOB_9 GPIO_ACTIVE_LOW>;
	};

	gpio-keys-polled {
		compatible = "gpio-keys-polled";
		poll-interval = <100>;

		power-button {
			label = "power";
			linux,code = <KEY_POWER>;

Annotation

Implementation Notes