Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / gpu / nvidia,gk20a.txt
blob23bfe8e1f7cce57c105495584563e04ee8b5eec2
1 NVIDIA GK20A Graphics Processing Unit
3 Required properties:
4 - compatible: "nvidia,<chip>-<gpu>"
5   Currently recognized values:
6   - nvidia,tegra124-gk20a
7 - reg: Physical base address and length of the controller's registers.
8   Must contain two entries:
9   - first entry for bar0
10   - second entry for bar1
11 - interrupts: Must contain an entry for each entry in interrupt-names.
12   See ../interrupt-controller/interrupts.txt for details.
13 - interrupt-names: Must include the following entries:
14   - stall
15   - nonstall
16 - vdd-supply: regulator for supply voltage.
17 - clocks: Must contain an entry for each entry in clock-names.
18   See ../clocks/clock-bindings.txt for details.
19 - clock-names: Must include the following entries:
20   - gpu
21   - pwr
22 - resets: Must contain an entry for each entry in reset-names.
23   See ../reset/reset.txt for details.
24 - reset-names: Must include the following entries:
25   - gpu
27 Example:
29         gpu@0,57000000 {
30                 compatible = "nvidia,gk20a";
31                 reg = <0x0 0x57000000 0x0 0x01000000>,
32                       <0x0 0x58000000 0x0 0x01000000>;
33                 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
34                              <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
35                 interrupt-names = "stall", "nonstall";
36                 vdd-supply = <&vdd_gpu>;
37                 clocks = <&tegra_car TEGRA124_CLK_GPU>,
38                          <&tegra_car TEGRA124_CLK_PLL_P_OUT5>;
39                 clock-names = "gpu", "pwr";
40                 resets = <&tegra_car 184>;
41                 reset-names = "gpu";
42                 status = "disabled";
43         };