arch/arm/boot/dts/nspire/nspire-cx.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/nspire/nspire-cx.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/nspire/nspire-cx.dts
Extension
.dts
Size
3365 bytes
Lines
171
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-only
/*
 *  Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
 */

/dts-v1/;

#include <dt-bindings/input/input.h>

/include/ "nspire.dtsi"

&lcd {
	port {
		clcd_pads: endpoint {
			remote-endpoint = <&panel_in>;
		};
	};
};

&fast_timer {
	/* compatible = "arm,sp804", "arm,primecell"; */
};

&uart {
	compatible = "arm,pl011", "arm,primecell";

	clocks = <&uart_clk>, <&apb_pclk>;
	clock-names = "uartclk", "apb_pclk";
};

&timer0 {
	compatible = "arm,sp804", "arm,primecell";
};

&timer1 {
	compatible = "arm,sp804", "arm,primecell";
};

&base_clk {
	compatible = "lsi,nspire-cx-clock";
};

&ahb_clk {
	compatible = "lsi,nspire-cx-ahb-divider";
};

&keypad {
	linux,keymap = <
		MATRIX_KEY(0,  0, 0x1c)
		MATRIX_KEY(0,  1, 0x1c)
		MATRIX_KEY(0,  4, 0x39)
		MATRIX_KEY(0,  5, 0x2c)
		MATRIX_KEY(0,  6, 0x15)
		MATRIX_KEY(0,  7, 0x0b)
		MATRIX_KEY(0,  8, 0x0f)
		MATRIX_KEY(1,  0, 0x2d)
		MATRIX_KEY(1,  1, 0x11)
		MATRIX_KEY(1,  2, 0x2f)
		MATRIX_KEY(1,  3, 0x04)
		MATRIX_KEY(1,  4, 0x16)
		MATRIX_KEY(1,  5, 0x14)
		MATRIX_KEY(1,  6, 0x1f)
		MATRIX_KEY(1,  7, 0x02)
		MATRIX_KEY(1, 10, 0x6a)
		MATRIX_KEY(2,  0, 0x13)
		MATRIX_KEY(2,  1, 0x10)
		MATRIX_KEY(2,  2, 0x19)
		MATRIX_KEY(2,  3, 0x07)
		MATRIX_KEY(2,  4, 0x18)
		MATRIX_KEY(2,  5, 0x31)

Annotation

Implementation Notes