arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
Source file repositories/reference/linux-study-clean/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts- Extension
.dts- Size
- 5504 bytes
- Lines
- 317
- Domain
- Architecture Layer
- Bucket
- arch/riscv
- 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
th1520.dtsidt-bindings/gpio/gpio.hdt-bindings/leds/common.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) 2023 Jisheng Zhang <jszhang@kernel.org>
* Copyright (C) 2023 Drew Fustini <dfustini@baylibre.com>
*/
/dts-v1/;
#include "th1520.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
/ {
model = "BeagleV Ahead";
compatible = "beagle,beaglev-ahead", "thead,th1520";
aliases {
ethernet0 = &gmac0;
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;
gpio3 = &gpio3;
gpio4 = &gpio4;
gpio5 = &aogpio;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &uart5;
spi0 = &spi0;
};
chosen {
stdout-path = "serial0:115200n8";
};
memory@0 {
device_type = "memory";
reg = <0x0 0x00000000 0x1 0x00000000>;
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
compatible = "gpio-leds";
led-1 {
gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_BLUE>;
label = "led1";
};
led-2 {
gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_BLUE>;
label = "led2";
};
led-3 {
gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_BLUE>;
label = "led3";
};
led-4 {
gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_BLUE>;
label = "led4";
};
Annotation
- Immediate include surface: `th1520.dtsi`, `dt-bindings/gpio/gpio.h`, `dt-bindings/leds/common.h`.
- Atlas domain: Architecture Layer / arch/riscv.
- 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.