Path: blob/master/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
26307 views
NVIDIA Tegra Graphics Processing Units12Required properties:3- compatible: "nvidia,<gpu>"4Currently recognized values:5- nvidia,gk20a6- nvidia,gm20b7- nvidia,gp10b8- nvidia,gv11b9- reg: Physical base address and length of the controller's registers.10Must contain two entries:11- first entry for bar012- second entry for bar113- interrupts: Must contain an entry for each entry in interrupt-names.14See ../interrupt-controller/interrupts.txt for details.15- interrupt-names: Must include the following entries:16- stall17- nonstall18- vdd-supply: regulator for supply voltage. Only required for GPUs not using19power domains.20- clocks: Must contain an entry for each entry in clock-names.21See ../clocks/clock-bindings.txt for details.22- clock-names: Must include the following entries:23- gpu24- pwr25If the compatible string is "nvidia,gm20b", then the following clock26is also required:27- ref28If the compatible string is "nvidia,gv11b", then the following clock is also29required:30- fuse31- resets: Must contain an entry for each entry in reset-names.32See ../reset/reset.txt for details.33- reset-names: Must include the following entries:34- gpu35- power-domains: GPUs that make use of power domains can define this property36instead of vdd-supply. Currently "nvidia,gp10b" makes use of this.3738Optional properties:39- iommus: A reference to the IOMMU. See ../iommu/iommu.txt for details.4041Example for GK20A:4243gpu@57000000 {44compatible = "nvidia,gk20a";45reg = <0x0 0x57000000 0x0 0x01000000>,46<0x0 0x58000000 0x0 0x01000000>;47interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,48<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;49interrupt-names = "stall", "nonstall";50vdd-supply = <&vdd_gpu>;51clocks = <&tegra_car TEGRA124_CLK_GPU>,52<&tegra_car TEGRA124_CLK_PLL_P_OUT5>;53clock-names = "gpu", "pwr";54resets = <&tegra_car 184>;55reset-names = "gpu";56iommus = <&mc TEGRA_SWGROUP_GPU>;57};5859Example for GM20B:6061gpu@57000000 {62compatible = "nvidia,gm20b";63reg = <0x0 0x57000000 0x0 0x01000000>,64<0x0 0x58000000 0x0 0x01000000>;65interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,66<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;67interrupt-names = "stall", "nonstall";68clocks = <&tegra_car TEGRA210_CLK_GPU>,69<&tegra_car TEGRA210_CLK_PLL_P_OUT5>,70<&tegra_car TEGRA210_CLK_PLL_G_REF>;71clock-names = "gpu", "pwr", "ref";72resets = <&tegra_car 184>;73reset-names = "gpu";74iommus = <&mc TEGRA_SWGROUP_GPU>;75};7677Example for GP10B:7879gpu@17000000 {80compatible = "nvidia,gp10b";81reg = <0x0 0x17000000 0x0 0x1000000>,82<0x0 0x18000000 0x0 0x1000000>;83interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH84GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;85interrupt-names = "stall", "nonstall";86clocks = <&bpmp TEGRA186_CLK_GPCCLK>,87<&bpmp TEGRA186_CLK_GPU>;88clock-names = "gpu", "pwr";89resets = <&bpmp TEGRA186_RESET_GPU>;90reset-names = "gpu";91power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;92iommus = <&smmu TEGRA186_SID_GPU>;93};9495Example for GV11B:9697gpu@17000000 {98compatible = "nvidia,gv11b";99reg = <0x17000000 0x1000000>,100<0x18000000 0x1000000>;101interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,102<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;103interrupt-names = "stall", "nonstall";104clocks = <&bpmp TEGRA194_CLK_GPCCLK>,105<&bpmp TEGRA194_CLK_GPU_PWR>,106<&bpmp TEGRA194_CLK_FUSE>;107clock-names = "gpu", "pwr", "fuse";108resets = <&bpmp TEGRA194_RESET_GPU>;109reset-names = "gpu";110dma-coherent;111112power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>;113iommus = <&smmu TEGRA194_SID_GPU>;114};115116117