arch/arm64/boot/dts/freescale/imx8mn-rve-gateway.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx8mn-rve-gateway.dts
Extension
.dts
Size
6685 bytes
Lines
286
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 2023 DimOnOff
 */

/dts-v1/;

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

/ {
	model = "RVE gateway";
	compatible = "rve,gateway", "variscite,var-som-mx8mn", "fsl,imx8mn";

	crystal_duart_24m: crystal-duart-24m {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <24000000>;
	};

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

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

		key-exit {
			label = "exit";
			gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_ESC>;
		};
	};

	lcd {
		compatible = "hit,hd44780";
		display-height-chars = <2>;
		display-width-chars = <20>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_lcd>;
		data-gpios = <&gpio5  1 GPIO_ACTIVE_HIGH>,
			     <&gpio1  6 GPIO_ACTIVE_HIGH>,
			     <&gpio1 14 GPIO_ACTIVE_HIGH>,
			     <&gpio4 28 GPIO_ACTIVE_HIGH>,
			     <&gpio5 24 GPIO_ACTIVE_HIGH>,
			     <&gpio5  2 GPIO_ACTIVE_HIGH>,
			     <&gpio1 12 GPIO_ACTIVE_HIGH>,
			     <&gpio5 25 GPIO_ACTIVE_HIGH>;
		enable-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>;
		rs-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
		rw-gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
	};

	reg_3p3v: regulator-3p3v {
		compatible = "regulator-fixed";
		regulator-name = "3P3V";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};

	/* Bourns PEC12R rotary encoder, 24 steps. */
	rotary: rotary-encoder {
		compatible = "rotary-encoder";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_rotary>;

Annotation

Implementation Notes