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

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-ksz8794-common.dtsi
Extension
.dtsi
Size
2041 bytes
Lines
99
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 (C) 2025 Fedor Ross <fedor.ross@ifm.com>
 */

#include <dt-bindings/gpio/gpio.h>

#include "imx8mn-pinfunc.h"

&ecspi1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	ksz8794: ethernet-switch@1 {
		compatible = "microchip,ksz8794";
		pinctrl-names = "default", "reset";
		pinctrl-0 = <&pinctrl_ks8794>;
		pinctrl-1 = <&pinctrl_ks8794>;
		reg = <1>;
		reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
		spi-max-frequency = <5000000>;

		ethernet-ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				label = "lan1";
			};

			port@1 {
				reg = <1>;
				label = "lan2";
			};

			port@2 {
				reg = <2>;
				label = "lan3";
			};

			port@4 {
				reg = <4>;
				label = "cpu";
				ethernet = <&fec1>;
				phy-mode = "rgmii-id";
				rx-internal-delay-ps = <2000>;
				tx-internal-delay-ps = <2000>;
				fixed-link {
					full-duplex;
					speed = <1000>;
				};
			};
		};
	};
};

&fec1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_fec1>;
	phy-mode = "rgmii-id";
	status = "okay";

	fixed-link {
		full-duplex;
		speed = <1000>;
	};
};

Annotation

Implementation Notes