// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /** * DT Overlay for RPi 7inch touchscreen panel interfaced with DSI on * AM62P5-SK EVM. * * RPi DSI Panel: https://www.raspberrypi.com/products/raspberry-pi-touch-display/ * * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ */ #include #include #include "../k3-pinctrl.h" &{/} { panel0 { compatible = "dummy,bt656_lt9211"; port { panel0_in: endpoint { remote-endpoint = <&panel0_bridge_out>; }; }; }; }; &main_i2c2 { status = "okay"; bridge@2d { compatible = "lt9211c"; reg = <0x2d>; status = "okay"; reset-gpios = <&main_gpio0 40 GPIO_ACTIVE_HIGH>; /* (P25) GPMC0_DIR.GPIO0_40 */ ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; panel0_bridge_in: endpoint { remote-endpoint = <&dsi0_out>; }; }; port@1 { reg = <1>; panel0_bridge_out: endpoint { remote-endpoint = <&panel0_in>; }; }; }; }; }; &dphy_tx0 { status = "okay"; }; &dss1 { status = "okay"; }; &dss1_ports { #address-cells = <1>; #size-cells = <0>; /* DSS1-VP1: DSI Output */ port@1 { reg = <1>; dss1_dpi1_out: endpoint { remote-endpoint = <&dsi0_in>; }; }; }; &dsi0 { status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; dsi0_out: endpoint { remote-endpoint = <&panel0_bridge_in>; }; }; port@1 { reg = <1>; dsi0_in: endpoint { remote-endpoint = <&dss1_dpi1_out>; }; }; }; };