arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts
Extension
.dts
Size
8030 bytes
Lines
407
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-or-later OR MIT)
/*
 * Copyright 2013-2014 Freescale Semiconductor, Inc.
 * Copyright 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
 * D-82229 Seefeld, Germany.
 * Author: Alexander Stein
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/leds/leds-pca9532.h>
#include <dt-bindings/net/ti-dp83867.h>

#include "ls1021a-tqmls1021a.dtsi"

/ {
	model = "TQMLS102xA SOM on MBLS102xA";
	compatible = "tq,ls1021a-tqmls1021a-mbls102xa", "tq,ls1021a-tqmls1021a", "fsl,ls1021a";

	audio_mclk: audio-clock {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <25000000>;
	};

	backlight_dcu: backlight {
		compatible = "gpio-backlight";
		gpios = <&pca9530 0 GPIO_ACTIVE_LOW>;
		status = "disabled";
	};

	gpio-keys {
		compatible = "gpio-keys";
		autorepeat;

		switch-1 {
			label = "S6";
			linux,code = <BTN_0>;
			gpios = <&pca9554_0 0 GPIO_ACTIVE_LOW>;
		};

		btn2: switch-2 {
			label = "S7";
			linux,code = <BTN_1>;
			gpios = <&pca9554_0 1 GPIO_ACTIVE_LOW>;
		};

		switch-3 {
			label = "S8";
			linux,code = <BTN_2>;
			gpios = <&pca9554_0 2 GPIO_ACTIVE_LOW>;
		};
	};

	gpio_leds: gpio-leds {
		compatible = "gpio-leds";

		led-0 {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_STATUS;
			function-enumerator = <0>;
			gpios = <&pca9554_2 4 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "default-on";
		};

		led-1 {
			color = <LED_COLOR_ID_GREEN>;

Annotation

Implementation Notes