arch/arm/boot/dts/allwinner/sun8i-v3s-anbernic-rg-nano.dts
Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun8i-v3s-anbernic-rg-nano.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/boot/dts/allwinner/sun8i-v3s-anbernic-rg-nano.dts- Extension
.dts- Size
- 5439 bytes
- Lines
- 277
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
dt-bindings/input/linux-event-codes.hsun8i-v3s.dtsisunxi-common-regulators.dtsiaxp209.dtsi
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)
/dts-v1/;
#include <dt-bindings/input/linux-event-codes.h>
#include "sun8i-v3s.dtsi"
#include "sunxi-common-regulators.dtsi"
/ {
model = "Anbernic RG Nano";
compatible = "anbernic,rg-nano", "allwinner,sun8i-v3s";
aliases {
rtc0 = &pcf8563;
rtc1 = &rtc;
serial0 = &uart0;
};
backlight: backlight {
compatible = "pwm-backlight";
brightness-levels = <0 1 2 3 8 14 21 32 46 60 80 100>;
default-brightness-level = <11>;
power-supply = <®_vcc5v0>;
pwms = <&pwm 0 40000 1>;
};
chosen {
stdout-path = "serial0:115200n8";
};
gpio_keys: gpio-keys {
compatible = "gpio-keys";
button-a {
gpios = <&gpio_expander 12 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "BTN-A";
linux,code = <BTN_EAST>;
};
button-b {
gpios = <&gpio_expander 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "BTN-B";
linux,code = <BTN_SOUTH>;
};
button-down {
gpios = <&gpio_expander 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "DPAD-DOWN";
linux,code = <BTN_DPAD_DOWN>;
};
button-left {
gpios = <&gpio_expander 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "DPAD-LEFT";
linux,code = <BTN_DPAD_LEFT>;
};
button-right {
gpios = <&gpio_expander 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "DPAD-RIGHT";
linux,code = <BTN_DPAD_RIGHT>;
};
button-se {
gpios = <&gpio_expander 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "BTN-SELECT";
linux,code = <BTN_SELECT>;
};
button-st {
gpios = <&gpio_expander 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
Annotation
- Immediate include surface: `dt-bindings/input/linux-event-codes.h`, `sun8i-v3s.dtsi`, `sunxi-common-regulators.dtsi`, `axp209.dtsi`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.