linux/drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7790.dts
<<
>>
Prefs
   1// SPDX-License-Identifier: GPL-2.0
   2/*
   3 * rcar_du_of_lvds_r8a7790.dts - Legacy LVDS DT bindings conversion for R8A7790
   4 *
   5 * Copyright (C) 2018 Laurent Pinchart <laurent.pinchart@ideasonboard.com>
   6 */
   7
   8/dts-v1/;
   9/plugin/;
  10/ {
  11        fragment@0 {
  12                target-path = "/";
  13                __overlay__ {
  14                        #address-cells = <2>;
  15                        #size-cells = <2>;
  16
  17                        lvds@feb90000 {
  18                                compatible = "renesas,r8a7790-lvds";
  19                                reg = <0 0xfeb90000 0 0x1c>;
  20
  21                                ports {
  22                                        #address-cells = <1>;
  23                                        #size-cells = <0>;
  24
  25                                        port@0 {
  26                                                reg = <0>;
  27                                                lvds0_input: endpoint {
  28                                                };
  29                                        };
  30                                        port@1 {
  31                                                reg = <1>;
  32                                                lvds0_out: endpoint {
  33                                                };
  34                                        };
  35                                };
  36                        };
  37
  38                        lvds@feb94000 {
  39                                compatible = "renesas,r8a7790-lvds";
  40                                reg = <0 0xfeb94000 0 0x1c>;
  41
  42                                ports {
  43                                        #address-cells = <1>;
  44                                        #size-cells = <0>;
  45
  46                                        port@0 {
  47                                                reg = <0>;
  48                                                lvds1_input: endpoint {
  49                                                };
  50                                        };
  51                                        port@1 {
  52                                                reg = <1>;
  53                                                lvds1_out: endpoint {
  54                                                };
  55                                        };
  56                                };
  57                        };
  58                };
  59        };
  60
  61        fragment@1 {
  62                target-path = "/display@feb00000/ports";
  63                __overlay__ {
  64                        port@1 {
  65                                endpoint {
  66                                        remote-endpoint = <&lvds0_input>;
  67                                };
  68                        };
  69                        port@2 {
  70                                endpoint {
  71                                        remote-endpoint = <&lvds1_input>;
  72                                };
  73                        };
  74                };
  75        };
  76};
  77