File: imx8mp-tx8p-ml81-moduline-display-106-av101hdt-a10.dtso

package info (click to toggle)
linux 6.17.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,734,616 kB
  • sloc: ansic: 26,679,265; asm: 271,190; sh: 147,381; python: 75,918; makefile: 57,295; perl: 36,942; xml: 19,562; cpp: 5,899; yacc: 4,909; lex: 2,943; awk: 1,556; sed: 29; ruby: 25
file content (94 lines) | stat: -rw-r--r-- 1,758 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright 2025 GOcontroll B.V.
 * Author: Maud Spierings <maudspierings@gocontroll.com>
 */

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

#include "imx8mp-pinfunc.h"

/dts-v1/;
/plugin/;

&{/} {
	model = "GOcontroll Moduline Display with BOE av101hdt-a10 display";

	panel {
		compatible = "boe,av101hdt-a10";
		enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
		pinctrl-0 = <&pinctrl_panel>;
		pinctrl-names = "default";
		power-supply = <&reg_3v3_per>;
		reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;

		port {
			panel_lvds_in: endpoint {
				remote-endpoint = <&ldb_lvds_ch0>;
			};
		};
	};

	reg_vbus: regulator-vbus {
		compatible = "regulator-fixed";
		power-supply = <&reg_6v4>;
		regulator-always-on;
		regulator-max-microvolt = <5000000>;
		regulator-min-microvolt = <5000000>;
		regulator-name = "usb-c-vbus";
	};
};

&iomuxc {
	pinctrl_panel: panelgrp {
		fsl,pins = <
			MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07
				MX8MP_DSE_X1
			MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09
				MX8MP_DSE_X1
		>;
	};
};

&lcdif2 {
	status = "okay";
};

&lvds_bridge {
	assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>, <&clk IMX8MP_VIDEO_PLL1>;
	/* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_DISP2_PIX * 2 * 7 */
	assigned-clock-rates = <0>, <1054620000>;
	status = "okay";

	ports {
		port@1 {
			ldb_lvds_ch0: endpoint {
				remote-endpoint = <&panel_lvds_in>;
			};
		};
	};
};

&usb_dwc3_1 {
	dr_mode = "host";

	connector {
		compatible = "usb-c-connector";
		data-role = "host";
		pd-disable;
		vbus-supply = <&reg_vbus>;

		port {
			high_speed_ep: endpoint {
				remote-endpoint = <&usb1_hs_ep>;
			};
		};
	};

	port {
		usb1_hs_ep: endpoint {
			remote-endpoint = <&high_speed_ep>;
		};
	};
};