arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts
Extension
.dts
Size
4403 bytes
Lines
235
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 MIT)
/*
 * Support for Variscite DART-MX6 Carrier-board
 *
 * Copyright 2017 BayLibre, SAS
 * Author: Neil Armstrong <narmstrong@baylibre.com>
 */

/dts-v1/;

#include "imx6q.dtsi"
#include "imx6qdl-var-dart.dtsi"
#include <dt-bindings/input/linux-event-codes.h>

/ {
	model = "Variscite DART-MX6 Carrier-board";
	compatible = "variscite,dt6customboard", "fsl,imx6q";

	backlight_lvds: backlight {
		compatible = "pwm-backlight";
		pwms = <&pwm2 0 50000 0>;
		brightness-levels = <0 4 8 16 32 64 128 248>;
		default-brightness-level = <7>;
		status = "okay";
	};

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

		key-back {
			gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_BACK>;
			label = "Key Back";
			linux,input-type = <1>;
			debounce-interval = <100>;
			wakeup-source;
		};

		key-home {
			gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_HOME>;
			label = "Key Home";
			linux,input-type = <1>;
			debounce-interval = <100>;
			wakeup-source;
		};

		key-menu {
			gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_MENU>;
			label = "Key Menu";
			linux,input-type = <1>;
			debounce-interval = <100>;
			wakeup-source;
		};
	};

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

		led1 {
			gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};

		led2 {
			gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
		};

Annotation

Implementation Notes