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