arch/arm64/boot/dts/freescale/imx93-phyboard-nash-pwm-fan.dtso

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/freescale/imx93-phyboard-nash-pwm-fan.dtso

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx93-phyboard-nash-pwm-fan.dtso
Extension
.dtso
Size
1228 bytes
Lines
76
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: arch/arm64
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 PHYTEC Messtechnik GmbH
 * Author: Primoz Fiser <primoz.fiser@norik.com>
 */

#include <dt-bindings/pwm/pwm.h>
#include "imx93-pinfunc.h"

/dts-v1/;
/plugin/;

&{/} {
	fan0: pwm-fan {
		compatible = "pwm-fan";
		#cooling-cells = <2>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_fan>;
		cooling-levels = <1 90 150 200 255>;
		pwms = <&tpm6 1 40000 PWM_POLARITY_INVERTED>;
	};

	thermal-zones {
		cpu-thermal {
			trips {
				cpu_low: cpu-low {
					hysteresis = <3000>;
					temperature = <50000>;
					type = "active";
				};

				cpu_med: cpu-med {
					hysteresis = <3000>;
					temperature = <58000>;
					type = "active";
				};

				cpu_high: cpu-high {
					hysteresis = <3000>;
					temperature = <65000>;
					type = "active";
				};
			};

			cooling-maps {
				map1 {
					cooling-device = <&fan0 1 1>;
					trip = <&cpu_low>;
				};

				map2 {
					cooling-device = <&fan0 2 2>;
					trip = <&cpu_med>;
				};

				map3 {
					cooling-device = <&fan0 4 4>;
					trip = <&cpu_high>;
				};
			};
		};
	};
};

&tpm6 {
	status = "okay";
};

&iomuxc {
	pinctrl_fan: fangrp {

Annotation

Implementation Notes