arm64: tegra: Enable VIC on Tegra210
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 14 Dec 2016 11:16:16 +0000 (13:16 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 20 Mar 2017 18:48:36 +0000 (19:48 +0100)
Enable the VIC (Video Image Compositor) host1x unit on Tegra210 systems.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 2f832df29da8522bf05fdb1168580ea1ea105bbf..217e5a14745cd6f9b1c847bca2dfbd0af96ae914 100644 (file)
                vic@54340000 {
                        compatible = "nvidia,tegra210-vic";
                        reg = <0x0 0x54340000 0x0 0x00040000>;
-                       status = "disabled";
+                       interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&tegra_car TEGRA210_CLK_VIC03>;
+                       clock-names = "vic";
+                       resets = <&tegra_car 178>;
+                       reset-names = "vic";
+
+                       iommus = <&mc TEGRA_SWGROUP_VIC>;
+                       power-domains = <&pd_vic>;
                };
 
                nvjpg@54380000 {
                                resets = <&tegra_car TEGRA210_CLK_XUSB_HOST>;
                                #power-domain-cells = <0>;
                        };
+
+                       pd_vic: vic {
+                               clocks = <&tegra_car TEGRA210_CLK_VIC03>;
+                               clock-names = "vic";
+                               resets = <&tegra_car 178>;
+                               reset-names = "vic";
+                               #power-domain-cells = <0>;
+                       };
                };
        };