arch/mips/boot/dts/loongson/loongson1b.dtsi

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

File Facts

System
Linux kernel
Corpus path
arch/mips/boot/dts/loongson/loongson1b.dtsi
Extension
.dtsi
Size
4059 bytes
Lines
199
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
/*
 * Copyright (c) 2023-2025 Keguang Zhang <keguang.zhang@gmail.com>
 */

/dts-v1/;
#include "loongson1.dtsi"

/ {
	cpu_opp_table: opp-table {
		compatible = "operating-points-v2";
		opp-shared;

		opp-44000000 {
			opp-hz = /bits/ 64 <44000000>;
		};
		opp-47142000 {
			opp-hz = /bits/ 64 <47142000>;
		};
		opp-50769000 {
			opp-hz = /bits/ 64 <50769000>;
		};
		opp-55000000 {
			opp-hz = /bits/ 64 <55000000>;
		};
		opp-60000000 {
			opp-hz = /bits/ 64 <60000000>;
		};
		opp-66000000 {
			opp-hz = /bits/ 64 <66000000>;
		};
		opp-73333000 {
			opp-hz = /bits/ 64 <73333000>;
		};
		opp-82500000 {
			opp-hz = /bits/ 64 <82500000>;
		};
		opp-94285000 {
			opp-hz = /bits/ 64 <94285000>;
		};
		opp-110000000 {
			opp-hz = /bits/ 64 <110000000>;
		};
		opp-132000000 {
			opp-hz = /bits/ 64 <132000000>;
		};
		opp-165000000 {
			opp-hz = /bits/ 64 <165000000>;
		};
		opp-220000000 {
			opp-hz = /bits/ 64 <220000000>;
		};
	};

	clkc: clock-controller@1fe78030 {
		compatible = "loongson,ls1b-clk";
		reg = <0x1fe78030 0x8>;
		clocks = <&xtal>;
		#clock-cells = <1>;
	};
};

&soc {
	syscon: syscon@420 {
		compatible = "loongson,ls1b-syscon", "syscon";
		reg = <0x420 0x8>;
	};

	dma: dma-controller@1160 {
		compatible = "loongson,ls1b-apbdma";

Annotation

Implementation Notes