ARM: dts: davinci: da850: VPIF: add node and muxing
authorKevin Hilman <khilman@baylibre.com>
Mon, 9 Jan 2017 20:55:26 +0000 (12:55 -0800)
committerSekhar Nori <nsekhar@ti.com>
Tue, 10 Jan 2017 09:35:33 +0000 (15:05 +0530)
Add VPIF node and pins to da850 SoC.  VPIF has two input channels which
can be described using the standard DT ports and endpoints.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
[nsekhar@ti.com: drop stray newline, typo fixes in commit message]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850.dtsi

index ac17862..ab5adb1 100644 (file)
                                        0x4c 0x02000022 0x0f0000ff
                                >;
                        };
-
+                       vpif_capture_pins: vpif_capture_pins {
+                               pinctrl-single,bits = <
+                                       /* VP_DIN[2..7], VP_CLKIN1, VP_CLKIN0 */
+                                       0x38 0x11111111 0xffffffff
+                                       /* VP_DIN[10..15,0..1] */
+                                       0x3c 0x11111111 0xffffffff
+                                       /* VP_DIN[8..9] */
+                                       0x40 0x00000011 0x000000ff
+                                       /* VP_CLKIN3, VP_CLKIN2 */
+                                       0x4c 0x00010100 0x000f0f00
+                               >;
+                       };
                };
                prictrl: priority-controller@14110 {
                        compatible = "ti,da850-mstpri";
                        dma-names = "rx", "tx";
                        status = "disabled";
                };
+               vpif: video@217000 {
+                       compatible = "ti,da850-vpif";
+                       reg = <0x217000 0x1000>;
+                       interrupts = <92>;
+                       status = "disabled";
+
+                       /* VPIF capture port */
+                       port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
+               };
                mmc1: mmc@21b000 {
                        compatible = "ti,da830-mmc";
                        reg = <0x21b000 0x1000>;