1*66651867SMarek Vasut# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*66651867SMarek Vasut%YAML 1.2 3*66651867SMarek Vasut--- 4*66651867SMarek Vasut$id: http://devicetree.org/schemas/display/bridge/fsl,ldb.yaml# 5*66651867SMarek Vasut$schema: http://devicetree.org/meta-schemas/core.yaml# 6*66651867SMarek Vasut 7*66651867SMarek Vasuttitle: Freescale i.MX8MP DPI to LVDS bridge chip 8*66651867SMarek Vasut 9*66651867SMarek Vasutmaintainers: 10*66651867SMarek Vasut - Marek Vasut <marex@denx.de> 11*66651867SMarek Vasut 12*66651867SMarek Vasutdescription: | 13*66651867SMarek Vasut The i.MX8MP mediamix contains two registers which are responsible 14*66651867SMarek Vasut for configuring the on-SoC DPI-to-LVDS serializer. This describes 15*66651867SMarek Vasut those registers as bridge within the DT. 16*66651867SMarek Vasut 17*66651867SMarek Vasutproperties: 18*66651867SMarek Vasut compatible: 19*66651867SMarek Vasut const: fsl,imx8mp-ldb 20*66651867SMarek Vasut 21*66651867SMarek Vasut clocks: 22*66651867SMarek Vasut maxItems: 1 23*66651867SMarek Vasut 24*66651867SMarek Vasut clock-names: 25*66651867SMarek Vasut const: ldb 26*66651867SMarek Vasut 27*66651867SMarek Vasut ports: 28*66651867SMarek Vasut $ref: /schemas/graph.yaml#/properties/ports 29*66651867SMarek Vasut 30*66651867SMarek Vasut properties: 31*66651867SMarek Vasut port@0: 32*66651867SMarek Vasut $ref: /schemas/graph.yaml#/properties/port 33*66651867SMarek Vasut description: Video port for DPI input. 34*66651867SMarek Vasut 35*66651867SMarek Vasut port@1: 36*66651867SMarek Vasut $ref: /schemas/graph.yaml#/properties/port 37*66651867SMarek Vasut description: Video port for LVDS Channel-A output (panel or bridge). 38*66651867SMarek Vasut 39*66651867SMarek Vasut port@2: 40*66651867SMarek Vasut $ref: /schemas/graph.yaml#/properties/port 41*66651867SMarek Vasut description: Video port for LVDS Channel-B output (panel or bridge). 42*66651867SMarek Vasut 43*66651867SMarek Vasut required: 44*66651867SMarek Vasut - port@0 45*66651867SMarek Vasut - port@1 46*66651867SMarek Vasut 47*66651867SMarek Vasutrequired: 48*66651867SMarek Vasut - compatible 49*66651867SMarek Vasut - clocks 50*66651867SMarek Vasut - ports 51*66651867SMarek Vasut 52*66651867SMarek VasutadditionalProperties: false 53*66651867SMarek Vasut 54*66651867SMarek Vasutexamples: 55*66651867SMarek Vasut - | 56*66651867SMarek Vasut #include <dt-bindings/clock/imx8mp-clock.h> 57*66651867SMarek Vasut 58*66651867SMarek Vasut blk-ctrl { 59*66651867SMarek Vasut bridge { 60*66651867SMarek Vasut compatible = "fsl,imx8mp-ldb"; 61*66651867SMarek Vasut clocks = <&clk IMX8MP_CLK_MEDIA_LDB>; 62*66651867SMarek Vasut clock-names = "ldb"; 63*66651867SMarek Vasut 64*66651867SMarek Vasut ports { 65*66651867SMarek Vasut #address-cells = <1>; 66*66651867SMarek Vasut #size-cells = <0>; 67*66651867SMarek Vasut 68*66651867SMarek Vasut port@0 { 69*66651867SMarek Vasut reg = <0>; 70*66651867SMarek Vasut 71*66651867SMarek Vasut ldb_from_lcdif2: endpoint { 72*66651867SMarek Vasut remote-endpoint = <&lcdif2_to_ldb>; 73*66651867SMarek Vasut }; 74*66651867SMarek Vasut }; 75*66651867SMarek Vasut 76*66651867SMarek Vasut port@1 { 77*66651867SMarek Vasut reg = <1>; 78*66651867SMarek Vasut 79*66651867SMarek Vasut ldb_lvds_ch0: endpoint { 80*66651867SMarek Vasut remote-endpoint = <&ldb_to_lvdsx4panel>; 81*66651867SMarek Vasut }; 82*66651867SMarek Vasut }; 83*66651867SMarek Vasut 84*66651867SMarek Vasut port@2 { 85*66651867SMarek Vasut reg = <2>; 86*66651867SMarek Vasut 87*66651867SMarek Vasut ldb_lvds_ch1: endpoint { 88*66651867SMarek Vasut }; 89*66651867SMarek Vasut }; 90*66651867SMarek Vasut }; 91*66651867SMarek Vasut }; 92*66651867SMarek Vasut }; 93