1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*aa1a8ff2SEmmanuel Vadot/* 3*aa1a8ff2SEmmanuel Vadot * Copyright 2023 Gateworks Corporation 4*aa1a8ff2SEmmanuel Vadot */ 5*aa1a8ff2SEmmanuel Vadot 6*aa1a8ff2SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 7*aa1a8ff2SEmmanuel Vadot 8*aa1a8ff2SEmmanuel Vadot#include "imx8mm-pinfunc.h" 9*aa1a8ff2SEmmanuel Vadot 10*aa1a8ff2SEmmanuel Vadot/dts-v1/; 11*aa1a8ff2SEmmanuel Vadot/plugin/; 12*aa1a8ff2SEmmanuel Vadot 13*aa1a8ff2SEmmanuel Vadot&{/} { 14*aa1a8ff2SEmmanuel Vadot compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm"; 15*aa1a8ff2SEmmanuel Vadot 16*aa1a8ff2SEmmanuel Vadot panel { 17*aa1a8ff2SEmmanuel Vadot compatible = "powertip,ph800480t013-idf02"; 18*aa1a8ff2SEmmanuel Vadot power-supply = <&attiny>; 19*aa1a8ff2SEmmanuel Vadot backlight = <&attiny>; 20*aa1a8ff2SEmmanuel Vadot 21*aa1a8ff2SEmmanuel Vadot port { 22*aa1a8ff2SEmmanuel Vadot panel_in: endpoint { 23*aa1a8ff2SEmmanuel Vadot remote-endpoint = <&bridge_out>; 24*aa1a8ff2SEmmanuel Vadot }; 25*aa1a8ff2SEmmanuel Vadot }; 26*aa1a8ff2SEmmanuel Vadot }; 27*aa1a8ff2SEmmanuel Vadot}; 28*aa1a8ff2SEmmanuel Vadot 29*aa1a8ff2SEmmanuel Vadot&i2c3 { 30*aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 31*aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 32*aa1a8ff2SEmmanuel Vadot 33*aa1a8ff2SEmmanuel Vadot attiny: regulator@45 { 34*aa1a8ff2SEmmanuel Vadot compatible = "raspberrypi,7inch-touchscreen-panel-regulator"; 35*aa1a8ff2SEmmanuel Vadot reg = <0x45>; 36*aa1a8ff2SEmmanuel Vadot }; 37*aa1a8ff2SEmmanuel Vadot}; 38*aa1a8ff2SEmmanuel Vadot 39*aa1a8ff2SEmmanuel Vadot&lcdif { 40*aa1a8ff2SEmmanuel Vadot status = "okay"; 41*aa1a8ff2SEmmanuel Vadot}; 42*aa1a8ff2SEmmanuel Vadot 43*aa1a8ff2SEmmanuel Vadot&mipi_dsi { 44*aa1a8ff2SEmmanuel Vadot samsung,burst-clock-frequency = <891000000>; 45*aa1a8ff2SEmmanuel Vadot samsung,esc-clock-frequency = <54000000>; 46*aa1a8ff2SEmmanuel Vadot samsung,pll-clock-frequency = <27000000>; 47*aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 48*aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 49*aa1a8ff2SEmmanuel Vadot status = "okay"; 50*aa1a8ff2SEmmanuel Vadot 51*aa1a8ff2SEmmanuel Vadot bridge@0 { 52*aa1a8ff2SEmmanuel Vadot compatible = "toshiba,tc358762"; 53*aa1a8ff2SEmmanuel Vadot reg = <0>; 54*aa1a8ff2SEmmanuel Vadot vddc-supply = <&attiny>; 55*aa1a8ff2SEmmanuel Vadot 56*aa1a8ff2SEmmanuel Vadot ports { 57*aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 58*aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 59*aa1a8ff2SEmmanuel Vadot 60*aa1a8ff2SEmmanuel Vadot port@0 { 61*aa1a8ff2SEmmanuel Vadot reg = <0>; 62*aa1a8ff2SEmmanuel Vadot 63*aa1a8ff2SEmmanuel Vadot bridge_in: endpoint { 64*aa1a8ff2SEmmanuel Vadot remote-endpoint = <&dsi_out>; 65*aa1a8ff2SEmmanuel Vadot }; 66*aa1a8ff2SEmmanuel Vadot }; 67*aa1a8ff2SEmmanuel Vadot 68*aa1a8ff2SEmmanuel Vadot port@1 { 69*aa1a8ff2SEmmanuel Vadot reg = <1>; 70*aa1a8ff2SEmmanuel Vadot 71*aa1a8ff2SEmmanuel Vadot bridge_out: endpoint { 72*aa1a8ff2SEmmanuel Vadot remote-endpoint = <&panel_in>; 73*aa1a8ff2SEmmanuel Vadot }; 74*aa1a8ff2SEmmanuel Vadot }; 75*aa1a8ff2SEmmanuel Vadot }; 76*aa1a8ff2SEmmanuel Vadot }; 77*aa1a8ff2SEmmanuel Vadot 78*aa1a8ff2SEmmanuel Vadot ports { 79*aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 80*aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 81*aa1a8ff2SEmmanuel Vadot 82*aa1a8ff2SEmmanuel Vadot port@1 { 83*aa1a8ff2SEmmanuel Vadot reg = <1>; 84*aa1a8ff2SEmmanuel Vadot 85*aa1a8ff2SEmmanuel Vadot dsi_out: endpoint { 86*aa1a8ff2SEmmanuel Vadot remote-endpoint = <&bridge_in>; 87*aa1a8ff2SEmmanuel Vadot }; 88*aa1a8ff2SEmmanuel Vadot }; 89*aa1a8ff2SEmmanuel Vadot }; 90*aa1a8ff2SEmmanuel Vadot}; 91