arch/arm64/boot/dts/freescale/imx8mn-dimonoff-gateway-evk.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/freescale/imx8mn-dimonoff-gateway-evk.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx8mn-dimonoff-gateway-evk.dts
Extension
.dts
Size
2928 bytes
Lines
161
Domain
Architecture Layer
Bucket
arch/arm64
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)
/*
 * Copyright 2022 DimOnOff
 */

/dts-v1/;

#include <dt-bindings/usb/pd.h>
#include "imx8mn-var-som-symphony.dts"

/ {
	model = "DimOnOff Gateway EVK board";
	compatible = "dimonoff,gateway-evk", "variscite,var-som-mx8mn",
		     "fsl,imx8mn";

	/*
	 * U30 FPF2193 regulator.
	 * Source = BASE_PER_3V3 = SOM_3V3 (COM pin 49).
	 */
	reg_disp_3v3: regulator-disp-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "Display 3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		regulator-boot-on;
	};

	gpio-keys {
		compatible = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_gpio_keys>;

		key-enter {
			label = "enter";
			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_ENTER>;
			wakeup-source;
		};
	};

	/* Bourns PEC12R rotary encoder, 24 steps. */
	rotary: rotary-encoder {
		compatible = "rotary-encoder";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_rotary>;
		gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, /* A */
			<&gpio5 13 GPIO_ACTIVE_LOW>; /* B */
		linux,axis = <0>; /* REL_X */
		rotary-encoder,encoding = "gray";
		rotary-encoder,relative-axis;
	};
};

/* Disable Asynchronous Sample Rate Converter (audio) */
&easrc {
	status = "disabled";
};

&ecspi1 {
	/* Resistive touch controller */
	/delete-node/ touchscreen@0;
};

&gpu {
	status = "disabled";
};

&i2c2 {
	adc@48 {

Annotation

Implementation Notes