aboutsummaryrefslogtreecommitdiff
path: root/Bindings/gpu/nvidia,gk20a.txt
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-07-09 13:12:48 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-07-09 13:12:48 +0000
commitf3f213a6f94d330b77b3910f4c66b62aeec50645 (patch)
treec3f9fb9d237fa970fbe2a2d425d0be312d0e86a7 /Bindings/gpu/nvidia,gk20a.txt
parent8fdc67f730291b64de002bf95d19ae75e058b8ce (diff)
downloadsrc-f3f213a6f94d330b77b3910f4c66b62aeec50645.tar.gz
src-f3f213a6f94d330b77b3910f4c66b62aeec50645.zip
Update the DTS file from Linux 4.12vendor/device-tree/4.12
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=320832 svn path=/vendor/device-tree/4.12/; revision=320833; tag=vendor/device-tree/4.12
Diffstat (limited to 'Bindings/gpu/nvidia,gk20a.txt')
-rw-r--r--Bindings/gpu/nvidia,gk20a.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/Bindings/gpu/nvidia,gk20a.txt b/Bindings/gpu/nvidia,gk20a.txt
index ff3db65e50de..b7e4c7444510 100644
--- a/Bindings/gpu/nvidia,gk20a.txt
+++ b/Bindings/gpu/nvidia,gk20a.txt
@@ -5,6 +5,7 @@ Required properties:
Currently recognized values:
- nvidia,gk20a
- nvidia,gm20b
+ - nvidia,gp10b
- reg: Physical base address and length of the controller's registers.
Must contain two entries:
- first entry for bar0
@@ -14,7 +15,8 @@ Required properties:
- interrupt-names: Must include the following entries:
- stall
- nonstall
-- vdd-supply: regulator for supply voltage.
+- vdd-supply: regulator for supply voltage. Only required for GPUs not using
+ power domains.
- clocks: Must contain an entry for each entry in clock-names.
See ../clocks/clock-bindings.txt for details.
- clock-names: Must include the following entries:
@@ -27,6 +29,8 @@ is also required:
See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- gpu
+- power-domains: GPUs that make use of power domains can define this property
+ instead of vdd-supply. Currently "nvidia,gp10b" makes use of this.
Optional properties:
- iommus: A reference to the IOMMU. See ../iommu/iommu.txt for details.
@@ -68,3 +72,22 @@ Example for GM20B:
iommus = <&mc TEGRA_SWGROUP_GPU>;
status = "disabled";
};
+
+Example for GP10B:
+
+ 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";
+ power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
+ iommus = <&smmu TEGRA186_SID_GPU>;
+ status = "disabled";
+ };