arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi
Extension
.dtsi
Size
8784 bytes
Lines
397
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 2020-2024 Fedor Ross <fedor.ross@ifm.com>
 */

#include "imx8mn.dtsi"
#include <dt-bindings/leds/common.h>

/ {
	model = "ifm i.MX8MNano VHIP4 Evaluation Board";
	compatible = "ifm,imx8mn-vhip4-evalboard", "ifm,imx8mn-vhip4", "fsl,imx8mn";

	aliases {
		mmc0 = &usdhc3;
		mmc1 = &usdhc1;
		mmc2 = &usdhc2;
		rtc0 = &hw_rtc;
		rtc1 = &snvs_rtc;
	};

	chosen {
		bootargs = "console=ttymxc2,115200 earlycon=ec_imx6q,0x30880000,115200 rootwait";
		stdout-path = &uart3;
	};

	memory@40000000 {
		device_type = "memory";
		reg = <0x0 0x40000000 0 0x40000000>;
	};

	can_clk20m: can-clk20m {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <20000000>;
	};

	can_clk40m: can-clk40m {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <40000000>;
	};

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

		button-2 {
			label = "Button2";
			gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_2>;
		};

		button-3 {
			label = "Button3";
			gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_3>;
		};
	};

	ifm_led: led {
		compatible = "gpio-leds";
		pinctrl-0 = <&pinctrl_gpio_led>;
		pinctrl-names = "default", "extended";

		led-0 {
			function = LED_FUNCTION_STATUS;
			function-enumerator = <1>;
			color = <LED_COLOR_ID_YELLOW>;
			gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;

Annotation

Implementation Notes