ARM: dts: omap3-gta04: Add handling for tv output
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / omap3-gta04.dtsi
index 655d6e920a863a9436dd9814d88be0e37d9b3cfa..ee62d00bcbe633298bd24daf92677a593fcd790c 100644 (file)
                compatible = "usb-nop-xceiv";
                reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
        };
+
+       tv0: connector@1 {
+               compatible = "svideo-connector";
+               label = "tv";
+
+               port {
+                       tv_connector_in: endpoint {
+                               remote-endpoint = <&opa_out>;
+                       };
+               };
+       };
+
+       tv_amp: opa362 {
+               compatible = "ti,opa362";
+               enable-gpios = <&gpio1 23 0>;
+
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
+                               opa_in: endpoint@0 {
+                                       remote-endpoint = <&venc_out>;
+                               };
+                       };
+
+                       port@1 {
+                               reg = <1>;
+                               opa_out: endpoint@0 {
+                                       remote-endpoint = <&tv_connector_in>;
+                               };
+                       };
+               };
+       };
 };
 
 &omap3_pmx_core {
        };
 };
 
+&venc {
+       status = "okay";
+
+       vdda-supply = <&vdac>;
+
+       port {
+               venc_out: endpoint {
+                       remote-endpoint = <&opa_in>;
+                       ti,channels = <2>;
+                       ti,invert-polarity;
+               };
+       };
+};
+
 &gpmc {
        ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */