From: Kevin Hilman Date: Mon, 9 Jan 2017 20:55:26 +0000 (-0800) Subject: ARM: dts: davinci: da850: VPIF: add node and muxing X-Git-Tag: v5.15~11812^2~2^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6afa43a4bcad712e7e52466bb9ba6a10ede1797d;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: davinci: da850: VPIF: add node and muxing 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 [nsekhar@ti.com: drop stray newline, typo fixes in commit message] Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index ac17862..ab5adb12 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -208,7 +208,18 @@ 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"; @@ -324,6 +335,18 @@ 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>;