arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts- Extension
.dts- Size
- 5223 bytes
- Lines
- 291
- 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
mt7981b.dtsidt-bindings/gpio/gpio.hdt-bindings/leds/common.hdt-bindings/pinctrl/mt65xx.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-only OR MIT
/dts-v1/;
#include "mt7981b.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include "dt-bindings/pinctrl/mt65xx.h"
/ {
compatible = "openwrt,one", "mediatek,mt7981b";
model = "OpenWrt One";
aliases {
ethernet0 = &gmac1;
ethernet1 = &gmac0;
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
device_type = "memory";
};
pwm-leds {
compatible = "pwm-leds";
led-0 {
color = <LED_COLOR_ID_WHITE>;
default-brightness = <0>;
function = LED_FUNCTION_STATUS;
max-brightness = <255>;
pwms = <&pwm 0 10000>;
};
led-1 {
color = <LED_COLOR_ID_GREEN>;
default-brightness = <0>;
function = LED_FUNCTION_STATUS;
max-brightness = <255>;
pwms = <&pwm 1 10000>;
};
};
gpio-leds {
compatible = "gpio-leds";
led-0 {
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_STATUS;
gpios = <&pio 9 GPIO_ACTIVE_HIGH>;
};
led-1 {
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_LAN;
gpios = <&pio 34 GPIO_ACTIVE_LOW>;
linux,default-trigger = "netdev";
};
led-2 {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
gpios = <&pio 35 GPIO_ACTIVE_LOW>;
linux,default-trigger = "netdev";
};
Annotation
- Immediate include surface: `mt7981b.dtsi`, `dt-bindings/gpio/gpio.h`, `dt-bindings/leds/common.h`, `dt-bindings/pinctrl/mt65xx.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.