ARM: dts: davinci: da850-evm: enable VPIF
authorKevin Hilman <khilman@baylibre.com>
Mon, 9 Jan 2017 20:55:27 +0000 (12:55 -0800)
committerSekhar Nori <nsekhar@ti.com>
Tue, 10 Jan 2017 09:37:32 +0000 (15:07 +0530)
Enable VPIF node for video capture, and configure ports.  EVM board
uses channel 0 for composite input and channel 1 S-Video input.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-evm.dts

index 41de15f..cea36ee 100644 (file)
                };
        };
 };
+
+&vpif {
+       pinctrl-names = "default";
+       pinctrl-0 = <&vpif_capture_pins>;
+       status = "okay";
+
+       /* VPIF capture port */
+       port {
+               vpif_ch0: endpoint@0 {
+                         reg = <0>;
+                         bus-width = <8>;
+               };
+
+               vpif_ch1: endpoint@1 {
+                         reg = <1>;
+                         bus-width = <8>;
+                         data-shift = <8>;
+               };
+       };
+};