Advertisement
Guest User

Untitled

a guest
Nov 15th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.84 KB | None | 0 0
  1. diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
  2. index e02551f..51d8cf7 100644
  3. --- a/arch/arm/boot/dts/da850-lcdk.dts
  4. +++ b/arch/arm/boot/dts/da850-lcdk.dts
  5. @@ -50,6 +50,51 @@
  6.             system-clock-frequency = <24576000>;
  7.         };
  8.     };
  9. +
  10. +   vga_bridge {
  11. +       compatible = "dumb-vga-dac";
  12. +       #address-cells = <1>;
  13. +       #size-cells = <0>;
  14. +
  15. +       ports {
  16. +           #address-cells = <1>;
  17. +           #size-cells = <0>;
  18. +
  19. +           port@0 {
  20. +               #address-cells = <1>;
  21. +               #size-cells = <0>;
  22. +               reg = <0>;
  23. +
  24. +               vga_bridge_in: endpoint@0 {
  25. +                   reg = <0>;
  26. +                   remote-endpoint = <&display_out_vga>;
  27. +               };
  28. +           };
  29. +
  30. +           port@1 {
  31. +               #address-cells = <1>;
  32. +               #size-cells = <0>;
  33. +               reg = <1>;
  34. +
  35. +               vga_bridge_out: endpoint@0 {
  36. +                   reg = <0>;
  37. +                   remote-endpoint = <&vga_con_in>;
  38. +               };
  39. +           };
  40. +       };
  41. +   };
  42. +
  43. +   vga {
  44. +       compatible = "vga-connector";
  45. +
  46. +       ddc-i2c-bus = <&i2c0>;
  47. +
  48. +       port {
  49. +           vga_con_in: endpoint {
  50. +               remote-endpoint = <&vga_bridge_out>;
  51. +           };
  52. +       };
  53. +   };
  54.  };
  55.  
  56.  &pmx_core {
  57. @@ -223,3 +268,10 @@
  58.  &display {
  59.     status = "okay";
  60.  };
  61. +
  62. +&display_out {
  63. +   display_out_vga: endpoint@0 {
  64. +       reg = <0>;
  65. +       remote-endpoint = <&vga_bridge_in>;
  66. +   };
  67. +};
  68. \ No newline at end of file
  69. diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
  70. index 412eec6..87f6354 100644
  71. --- a/arch/arm/boot/dts/da850.dtsi
  72. +++ b/arch/arm/boot/dts/da850.dtsi
  73. @@ -443,6 +443,23 @@
  74.             reg = <0x213000 0x1000>;
  75.             interrupts = <52>;
  76.             status = "disabled";
  77. +
  78. +           ports {
  79. +               #address-cells = <1>;
  80. +               #size-cells = <0>;
  81. +
  82. +               display_in: port@0 {
  83. +                   #address-cells = <1>;
  84. +                   #size-cells = <0>;
  85. +                   reg = <0>;
  86. +               };
  87. +
  88. +               display_out: port@1 {
  89. +                   #address-cells = <1>;
  90. +                   #size-cells = <0>;
  91. +                   reg = <1>;
  92. +               };
  93. +           };
  94.         };
  95.     };
  96.     aemif: aemif@68000000 {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement