arch/arm/boot/dts/allwinner/sun8i-t113s-netcube-nagami.dtsi

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun8i-t113s-netcube-nagami.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun8i-t113s-netcube-nagami.dtsi
Extension
.dtsi
Size
5855 bytes
Lines
251
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.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (C) 2025 Lukas Schmid <lukas.schmid@netcube.li>
 */

/dts-v1/;
#include "sun8i-t113s.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "NetCube Systems Nagami SoM";
	compatible = "netcube,nagami", "allwinner,sun8i-t113s";

	aliases {
		serial1 = &uart1; // ESP32 Bootloader UART
		serial3 = &uart3; // Console UART on Card Edge
		ethernet0 = &emac;
	};

	chosen {
		stdout-path = "serial3:115200n8";
	};

	/* module wide 3.3V supply directly from the card edge */
	reg_vcc3v3: regulator-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "vcc-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};

	/* SY8008 DC/DC regulator on the board, also supplying VDD-SYS */
	reg_vcc_core: regulator-core {
		compatible = "regulator-fixed";
		regulator-name = "vcc-core";
		regulator-min-microvolt = <880000>;
		regulator-max-microvolt = <880000>;
		vin-supply = <&reg_vcc3v3>;
	};

	/* USB0 MUX to switch connect to Card-Edge only after BootROM */
	usb0_sec_mux: mux-controller{
		compatible = "gpio-mux";
		#mux-control-cells = <0>;
		mux-gpios = <&pio 3 9 GPIO_ACTIVE_HIGH>; /* PD9 */
		idle-state = <1>; /* USB connected to Card-Edge by default */
	};

	/* Reset of ESP32 */
	wifi_pwrseq: wifi-pwrseq {
		compatible = "mmc-pwrseq-simple";
		reset-gpios = <&pio 6 9 GPIO_ACTIVE_LOW>; /* PG9 */
		post-power-on-delay-ms = <1500>;
		power-off-delay-us = <200>;
	};
};

&cpu0 {
	cpu-supply = <&reg_vcc_core>;
};

&cpu1 {
	cpu-supply = <&reg_vcc_core>;
};

&dcxo {
	clock-frequency = <24000000>;

Annotation

Implementation Notes