forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
....@@ -6,6 +6,7 @@
66 - nvidia,gk20a
77 - nvidia,gm20b
88 - nvidia,gp10b
9
+ - nvidia,gv11b
910 - reg: Physical base address and length of the controller's registers.
1011 Must contain two entries:
1112 - first entry for bar0
....@@ -25,6 +26,9 @@
2526 If the compatible string is "nvidia,gm20b", then the following clock
2627 is also required:
2728 - ref
29
+If the compatible string is "nvidia,gv11b", then the following clock is also
30
+required:
31
+ - fuse
2832 - resets: Must contain an entry for each entry in reset-names.
2933 See ../reset/reset.txt for details.
3034 - reset-names: Must include the following entries:
....@@ -88,3 +92,24 @@
8892 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
8993 iommus = <&smmu TEGRA186_SID_GPU>;
9094 };
95
+
96
+Example for GV11B:
97
+
98
+ gpu@17000000 {
99
+ compatible = "nvidia,gv11b";
100
+ reg = <0x17000000 0x10000000>,
101
+ <0x18000000 0x10000000>;
102
+ interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
103
+ <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
104
+ interrupt-names = "stall", "nonstall";
105
+ clocks = <&bpmp TEGRA194_CLK_GPCCLK>,
106
+ <&bpmp TEGRA194_CLK_GPU_PWR>,
107
+ <&bpmp TEGRA194_CLK_FUSE>;
108
+ clock-names = "gpu", "pwr", "fuse";
109
+ resets = <&bpmp TEGRA194_RESET_GPU>;
110
+ reset-names = "gpu";
111
+ dma-coherent;
112
+
113
+ power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>;
114
+ iommus = <&smmu TEGRA194_SID_GPU>;
115
+ };