arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts
Extension
.dts
Size
5811 bytes
Lines
307
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-only OR MIT
// Copyright (C) 2025 J. Neuschäfer <j.ne@posteo.net>

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/leds/common.h>

#include "meson8.dtsi"

/ {
	model = "Fernsehfee 3.0";
	compatible = "tcu,fernsehfee3", "amlogic,meson8";

	aliases {
		serial0 = &uart_AO;
		gpiochip0 = &gpio;
		gpiochip1 = &gpio_ao;
		i2c0 = &i2c_AO;
		i2c1 = &i2c_B;
		mmc0 = &sdhc;
		mmc1 = &sdio;
	};

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

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x40000000>;  /* 1 GiB */
	};

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

		power-button {
			label = "Power button";
			linux,code = <KEY_POWER>;
			gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
		};
	};

	leds {
		compatible = "gpio-leds";

		led-0 {
			/*
			 * The power LED can be turned red, otherwise it is green.
			 */
			gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_LOW>;
			function = LED_FUNCTION_POWER;
			color = <LED_COLOR_ID_RED>;
		};
	};

	vcc_5v: regulator-5v {
		/* 5V rail, always on as long as the system is running */
		compatible = "regulator-fixed";
		regulator-name = "5V";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
	};

	vcc_3v3: regulator-3v3 {
		/* Chipown AP2420 step-down converter */
		compatible = "regulator-fixed";

Annotation

Implementation Notes