arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dts
Source file repositories/reference/linux-study-clean/arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dts- Extension
.dts- Size
- 5452 bytes
- Lines
- 253
- 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
dt-bindings/gpio/gpio.hsun20i-d1.dtsisun20i-common-regulators.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)
// Copyright (C) 2022 Samuel Holland <samuel@sholland.org>
#include <dt-bindings/gpio/gpio.h>
/dts-v1/;
#include "sun20i-d1.dtsi"
#include "sun20i-common-regulators.dtsi"
/ {
model = "ClockworkPi v3.14 (R-01)";
compatible = "clockwork,r-01-clockworkpi-v3.14", "allwinner,sun20i-d1";
aliases {
ethernet0 = &ap6256;
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
/*
* This regulator is PWM-controlled, but the PWM controller is not
* yet supported, so fix the regulator to its default voltage.
*/
reg_vdd_cpu: vdd-cpu {
compatible = "regulator-fixed";
regulator-name = "vdd-cpu";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
vin-supply = <®_vcc>;
};
wifi_pwrseq: wifi-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; /* PG11/GPIO3 */
};
};
&cpu0 {
cpu-supply = <®_vdd_cpu>;
};
&dcxo {
clock-frequency = <24000000>;
};
&ehci1 {
status = "okay";
};
&i2c0 {
pinctrl-0 = <&i2c0_pb10_pins>;
pinctrl-names = "default";
status = "okay";
axp221: pmic@34 {
compatible = "x-powers,axp228", "x-powers,axp221";
reg = <0x34>;
interrupt-parent = <&pio>;
interrupts = <4 9 IRQ_TYPE_LEVEL_LOW>; /* PE9/GPIO2 */
interrupt-controller;
#interrupt-cells = <1>;
ac_power_supply: ac-power {
compatible = "x-powers,axp221-ac-power-supply";
};
Annotation
- Immediate include surface: `dt-bindings/gpio/gpio.h`, `sun20i-d1.dtsi`, `sun20i-common-regulators.dtsi`.
- 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.