arch/arm/boot/dts/allwinner/sun7i-a20-i12-tvbox.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun7i-a20-i12-tvbox.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun7i-a20-i12-tvbox.dts
Extension
.dts
Size
4712 bytes
Lines
199
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

/dts-v1/;
#include "sun7i-a20.dtsi"
#include "sunxi-common-regulators.dtsi"

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

/ {
	model = "I12 / Q5 / QT840A A20 tvbox";
	compatible = "allwinner,i12-tvbox", "allwinner,sun7i-a20";

	aliases {
		serial0 = &uart0;
	};

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

	leds {
		compatible = "gpio-leds";

		led-0 {
			label = "i12_tvbox:red:usr";
			gpios = <&pio 7 9 GPIO_ACTIVE_LOW>;
		};

		led-1 {
			label = "i12_tvbox:blue:usr";
			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
		};
	};

	reg_vmmc3: vmmc3 {
		compatible = "regulator-fixed";
		regulator-name = "vmmc3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		enable-active-high;
		gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>;
	};

	reg_vmmc3_io: vmmc3-io {
		compatible = "regulator-fixed";
		regulator-name = "vmmc3-io";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		/* This controls VCC-PI, must be always on! */
		regulator-always-on;
		enable-active-high;
		gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>;
	};

	reg_gmac_3v3: gmac-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "gmac-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		startup-delay-us = <50000>;
		enable-active-high;
		gpio = <&pio 7 21 GPIO_ACTIVE_HIGH>;
	};
};

&ehci0 {
	status = "okay";
};

&ehci1 {
	status = "okay";

Annotation

Implementation Notes