Debian Codegraph @

scripts/dtc/include-prefixes/arm64/freescale/imx8mp-tx8p-ml81-moduline-display-106-av101hdt-a10.dtso

raw
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3 * Copyright 2025 GOcontroll B.V.
4 * Author: Maud Spierings <[email protected]>
5 */
6
7 #include <dt-bindings/clock/imx8mp-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9
10 #include "imx8mp-pinfunc.h"
11
12 /dts-v1/;
13 /plugin/;
14
15 &{/} {
16 model = "GOcontroll Moduline Display with BOE av101hdt-a10 display";
17
18 panel {
19 compatible = "boe,av101hdt-a10";
20 enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
21 pinctrl-0 = <&pinctrl_panel>;
22 pinctrl-names = "default";
23 power-supply = <&reg_3v3_per>;
24 reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
25
26 port {
27 panel_lvds_in: endpoint {
28 remote-endpoint = <&ldb_lvds_ch0>;
29 };
30 };
31 };
32
33 reg_vbus: regulator-vbus {
34 compatible = "regulator-fixed";
35 power-supply = <&reg_6v4>;
36 regulator-always-on;
37 regulator-max-microvolt = <5000000>;
38 regulator-min-microvolt = <5000000>;
39 regulator-name = "usb-c-vbus";
40 };
41 };
42
43 &iomuxc {
44 pinctrl_panel: panelgrp {
45 fsl,pins = <
46 MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07
47 MX8MP_DSE_X1
48 MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09
49 MX8MP_DSE_X1
50 >;
51 };
52 };
53
54 &lcdif2 {
55 status = "okay";
56 };
57
58 &lvds_bridge {
59 assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>, <&clk IMX8MP_VIDEO_PLL1>;
60 /* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_DISP2_PIX * 2 * 7 */
61 assigned-clock-rates = <0>, <1054620000>;
62 status = "okay";
63
64 ports {
65 port@1 {
66 ldb_lvds_ch0: endpoint {
67 remote-endpoint = <&panel_lvds_in>;
68 };
69 };
70 };
71 };
72
73 &usb_dwc3_1 {
74 dr_mode = "host";
75
76 connector {
77 compatible = "usb-c-connector";
78 data-role = "host";
79 pd-disable;
80 vbus-supply = <&reg_vbus>;
81
82 port {
83 high_speed_ep: endpoint {
84 remote-endpoint = <&usb1_hs_ep>;
85 };
86 };
87 };
88
89 port {
90 usb1_hs_ep: endpoint {
91 remote-endpoint = <&high_speed_ep>;
92 };
93 };
94 };