arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi
Extension
.dtsi
Size
3307 bytes
Lines
150
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 2021 BSH
 */

/ {
	chosen {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		framebuffer-panel0 {
			compatible = "simple-framebuffer";
			clocks = <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, /* lcdif */
				 <&clk IMX8MN_CLK_DISP_APB_ROOT>,
				 <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
				 <&clk IMX8MN_VIDEO_PLL1>,
				 <&clk IMX8MN_CLK_DISP_AXI_ROOT>, /* pgc_dispmix */
				 <&clk IMX8MN_CLK_DISP_APB_ROOT>,
				 <&clk IMX8MN_CLK_DISP_AXI>,
				 <&clk IMX8MN_CLK_DISP_APB>,
				 <&clk IMX8MN_SYS_PLL2_1000M>,
				 <&clk IMX8MN_SYS_PLL1_800M>,
				 <&clk IMX8MN_CLK_DSI_CORE>, /* mipi_disi */
				 <&clk IMX8MN_CLK_DSI_PHY_REF>;

			power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_LCDIF>,
					<&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_DSI>;
			dvdd-supply = <&reg_3v3_dvdd>;
			avdd-supply = <&reg_v3v3_avdd>;
			status = "disabled";
		};
	};

	backlight: backlight {
		compatible = "pwm-backlight";
		pwms = <&pwm1 0 700000 0>;	/* 700000 ns = 1337Hz */
		brightness-levels = <0 100>;
		num-interpolated-steps = <100>;
		default-brightness-level = <50>;
		status = "okay";
	};

	reg_3v3_dvdd: regulator-3v3-O3 {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_dvdd>;
		regulator-name = "3v3-dvdd-supply";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio1 7 GPIO_ACTIVE_LOW>;
	};

	reg_v3v3_avdd: regulator-3v3-O2 {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_avdd>;
		regulator-name = "3v3-avdd-supply";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;
	};
};

&pwm1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_bl>;
	status = "okay";
};

Annotation

Implementation Notes