arch/xtensa/boot/dts/xtfpga.dtsi

Source file repositories/reference/linux-study-clean/arch/xtensa/boot/dts/xtfpga.dtsi

File Facts

System
Linux kernel
Corpus path
arch/xtensa/boot/dts/xtfpga.dtsi
Extension
.dtsi
Size
2890 bytes
Lines
138
Domain
Architecture Layer
Bucket
arch/xtensa
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
/ {
	compatible = "cdns,xtensa-xtfpga";
	#address-cells = <1>;
	#size-cells = <1>;
	interrupt-parent = <&pic>;

	chosen {
		bootargs = "earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug";
	};

	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x06000000>;
	};

	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
		cpu@0 {
			compatible = "cdns,xtensa-cpu";
			reg = <0>;
			clocks = <&osc>;
		};
	};

	pic: pic {
		compatible = "cdns,xtensa-pic";
		/* one cell: internal irq number,
		 * two cells: second cell == 0: internal irq number
		 *            second cell == 1: external irq number
		 */
		#interrupt-cells = <2>;
		interrupt-controller;
	};

	clocks {
		clk54: clk54 {
			#clock-cells = <0>;
			compatible = "fixed-clock";
			clock-frequency = <54000000>;
		};
	};

	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
		ranges = <0x00000000 0xf0000000 0x10000000>;

		osc: main-oscillator {
			#clock-cells = <0>;
			compatible = "cdns,xtfpga-clock";
			reg = <0x0d020004 0x4>;
		};

		serial0: serial@0d050020 {
			device_type = "serial";
			compatible = "ns16550a";
			no-loopback-test;
			reg = <0x0d050020 0x20>;
			reg-shift = <2>;
			reg-io-width = <4>;
			native-endian;
			interrupts = <0 1>; /* external irq 0 */
			clocks = <&osc>;
		};

		enet0: ethoc@0d030000 {
			compatible = "opencores,ethoc";

Annotation

Implementation Notes