arm64: tegra: Add GPU node for Tegra186
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 30 Mar 2017 09:28:28 +0000 (18:28 +0900)
committerThierry Reding <treding@nvidia.com>
Tue, 4 Apr 2017 15:15:05 +0000 (17:15 +0200)
Add the DT node for the GP10B GPU on Tegra186.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi

index 3ea5e6369bc36561e69d210f5e49a3e44deccb22..5e62e68ac05385b525e2ff2ef9282b0e153fd2f6 100644 (file)
@@ -2,6 +2,7 @@
 #include <dt-bindings/gpio/tegra186-gpio.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/mailbox/tegra186-hsp.h>
+#include <dt-bindings/power/tegra186-powergate.h>
 #include <dt-bindings/reset/tegra186-reset.h>
 
 / {
                reg-names = "pmc", "wake", "aotag", "scratch";
        };
 
+       gpu@17000000 {
+               compatible = "nvidia,gp10b";
+               reg = <0x0 0x17000000 0x0 0x1000000>,
+                     <0x0 0x18000000 0x0 0x1000000>;
+               interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
+                             GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "stall", "nonstall";
+
+               clocks = <&bpmp TEGRA186_CLK_GPCCLK>,
+                        <&bpmp TEGRA186_CLK_GPU>;
+               clock-names = "gpu", "pwr";
+               resets = <&bpmp TEGRA186_RESET_GPU>;
+               reset-names = "gpu";
+               status = "disabled";
+
+               power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
+       };
+
        sysram@30000000 {
                compatible = "nvidia,tegra186-sysram", "mmio-sram";
                reg = <0x0 0x30000000 0x0 0x50000>;