arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi
Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi- Extension
.dtsi- Size
- 8530 bytes
- Lines
- 308
- 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/clock/sunplus,sp7021-clkc.hdt-bindings/interrupt-controller/irq.hdt-bindings/reset/sunplus,sp7021-reset.hdt-bindings/pinctrl/sppctl-sp7021.hdt-bindings/gpio/gpio.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
/*
* Device Tree Source for Sunplus SP7021
*
* Copyright (C) 2021 Sunplus Technology Co.
*/
#include <dt-bindings/clock/sunplus,sp7021-clkc.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/reset/sunplus,sp7021-reset.h>
#include <dt-bindings/pinctrl/sppctl-sp7021.h>
#include <dt-bindings/gpio/gpio.h>
#define XTAL 27000000
/ {
compatible = "sunplus,sp7021";
model = "Sunplus SP7021";
clocks {
extclk: osc0 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <XTAL>;
clock-output-names = "extclk";
};
};
soc@9c000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x9c000000 0x400000>;
interrupt-parent = <&intc>;
clkc: clock-controller@4 {
compatible = "sunplus,sp7021-clkc";
reg = <0x4 0x28>,
<0x200 0x44>,
<0x268 0x04>;
clocks = <&extclk>;
#clock-cells = <1>;
};
intc: interrupt-controller@780 {
compatible = "sunplus,sp7021-intc";
reg = <0x780 0x80>, <0xa80 0x80>;
interrupt-controller;
#interrupt-cells = <2>;
};
otp: otp@af00 {
compatible = "sunplus,sp7021-ocotp";
reg = <0xaf00 0x34>, <0xaf80 0x58>;
reg-names = "hb_gpio", "otprx";
clocks = <&clkc CLK_OTPRX>;
resets = <&rstc RST_OTPRX>;
#address-cells = <1>;
#size-cells = <1>;
therm_calib: thermal-calibration@14 {
reg = <0x14 0x3>;
};
disc_vol: disconnect-voltage@18 {
reg = <0x18 0x2>;
};
mac_addr0: mac-address0@34 {
reg = <0x34 0x6>;
};
mac_addr1: mac-address1@3a {
Annotation
- Immediate include surface: `dt-bindings/clock/sunplus,sp7021-clkc.h`, `dt-bindings/interrupt-controller/irq.h`, `dt-bindings/reset/sunplus,sp7021-reset.h`, `dt-bindings/pinctrl/sppctl-sp7021.h`, `dt-bindings/gpio/gpio.h`.
- 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.