ARM: dts: Add TVE200 to the Gemini SoC DTSI
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Oct 2017 17:45:19 +0000 (19:45 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 19 Oct 2017 22:38:08 +0000 (00:38 +0200)
The Faraday TVE200 is present in the Gemini SoC, sometimes
under the name "TVC". Add it to the SoC DTSI file along with
its resources.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/gemini.dtsi

index c68e8d430234c3824198d46b336f0d689cf38611..53baba4d939236c169f6817e7679545da0533b40 100644 (file)
                                                groups = "idegrp";
                                        };
                                };
+                               tvc_default_pins: pinctrl-tvc {
+                                       mux {
+                                               function = "tvc";
+                                               groups = "tvcgrp";
+                                       };
+                               };
                        };
                };
 
                        memcpy-bus-width = <32>;
                        #dma-cells = <2>;
                };
+
+               display-controller@6a000000 {
+                       compatible = "cortina,gemini-tvc", "faraday,tve200";
+                       reg = <0x6a000000 0x1000>;
+                       interrupts = <13 IRQ_TYPE_EDGE_RISING>;
+                       resets = <&syscon GEMINI_RESET_TVC>;
+                       clocks = <&syscon GEMINI_CLK_GATE_TVC>,
+                                <&syscon GEMINI_CLK_TVC>;
+                       clock-names = "PCLK", "TVE";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&tvc_default_pins>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
        };
 };