arch/mips/boot/dts/loongson/ls7a-pch.dtsi

Source file repositories/reference/linux-study-clean/arch/mips/boot/dts/loongson/ls7a-pch.dtsi

File Facts

System
Linux kernel
Corpus path
arch/mips/boot/dts/loongson/ls7a-pch.dtsi
Extension
.dtsi
Size
11475 bytes
Lines
484
Domain
Architecture Layer
Bucket
arch/mips
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

/ {
	pch: bus@10000000 {
		compatible = "simple-bus";
		#address-cells = <2>;
		#size-cells = <2>;
		ranges = <0 0x10000000 0 0x10000000 0 0x10000000 /* PIO & CONF & APB */
				0 0x20000000 0 0x20000000 0 0x10000000
				0 0x40000000 0 0x40000000 0 0x40000000 /* PCI MEM */
				0xe00 0x00000000 0xe00 0x00000000 0x100 0x0000000>;

		pic: interrupt-controller@10000000 {
			compatible = "loongson,pch-pic-1.0";
			reg = <0 0x10000000 0 0x400>;
			interrupt-controller;
			interrupt-parent = <&htvec>;
			loongson,pic-base-vec = <0>;
			#interrupt-cells = <2>;
		};

		lpc: interrupt-controller@10002000 {
			compatible = "loongson,ls7a-lpc";
			reg = <0 0x10002000 0 0x1000>;
			interrupt-controller;
			interrupt-parent = <&pic>;
			interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
			#interrupt-cells = <2>;
		};

		ls7a_uart0: serial@10080000 {
			compatible = "ns16550a";
			reg = <0 0x10080000 0 0x100>;
			clock-frequency = <50000000>;
			interrupt-parent = <&pic>;
			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
			no-loopback-test;
		};

		ls7a_uart1: serial@10080100 {
			status = "disabled";
			compatible = "ns16550a";
			reg = <0 0x10080100 0 0x100>;
			clock-frequency = <50000000>;
			interrupt-parent = <&pic>;
			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
			no-loopback-test;
		};

		ls7a_uart2: serial@10080200 {
			status = "disabled";
			compatible = "ns16550a";
			reg = <0 0x10080200 0 0x100>;
			clock-frequency = <50000000>;
			interrupt-parent = <&pic>;
			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
			no-loopback-test;
		};

		ls7a_uart3: serial@10080300 {
			status = "disabled";
			compatible = "ns16550a";
			reg = <0 0x10080300 0 0x100>;
			clock-frequency = <50000000>;
			interrupt-parent = <&pic>;
			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
			no-loopback-test;
		};

		rtc0: rtc@100d0100 {

Annotation

Implementation Notes