arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi- Extension
.dtsi- Size
- 9008 bytes
- Lines
- 526
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
mt7988a.dtsidt-bindings/gpio/gpio.hdt-bindings/input/input.hdt-bindings/leds/common.hdt-bindings/regulator/richtek,rt5190a-regulator.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2025 MediaTek Inc.
* Author: Sam.Shih <sam.shih@mediatek.com>
* Author: Frank Wunderlich <frank-w@public-files.de>
*/
/dts-v1/;
#include "mt7988a.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
/ {
aliases {
ethernet0 = &gmac0;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
/* PCA9548 (0-0070) provides 4 i2c channels */
i2c3 = &imux0;
i2c4 = &imux1_sfp1;
i2c5 = &imux2_sfp2;
i2c6 = &imux3_wifi;
};
chosen {
stdout-path = &serial0;
};
fan: pwm-fan {
compatible = "pwm-fan";
/* cooling level (0, 1, 2, 3) : (0% duty, 30% duty, 50% duty, 100% duty) */
cooling-levels = <0 80 128 255>;
pinctrl-0 = <&pwm0_pins>;
pinctrl-names = "default";
pwms = <&pwm 0 50000>;
#cooling-cells = <2>;
};
gpio-keys {
compatible = "gpio-keys";
button-reset {
label = "reset";
gpios = <&pio 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
button-wps {
label = "WPS";
gpios = <&pio 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};
gpio-leds {
compatible = "gpio-leds";
led_red: sys-led-red {
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_FAULT;
gpios = <&pca9555 15 GPIO_ACTIVE_HIGH>;
};
led_blue: sys-led-blue {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_ACTIVITY;
Annotation
- Immediate include surface: `mt7988a.dtsi`, `dt-bindings/gpio/gpio.h`, `dt-bindings/input/input.h`, `dt-bindings/leds/common.h`, `dt-bindings/regulator/richtek,rt5190a-regulator.h`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.