diff options
author | Eric Anholt <eric@anholt.net> | 2018-04-30 14:10:57 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-05-03 18:20:09 -0400 |
commit | 4000626f204d00f601dca7e9d9b8a793b07da4ad (patch) | |
tree | 1cd8c30f69c5ed02c8957834accf93d751d6bc68 | |
parent | 4c70ac7639f6af6d7c2d01f0307665a4b9afada7 (diff) |
dt-bindings: Add a new binding for Broadcom V3D 3.x and newer GPUs.
These OpenGL ES GPUs are present in the 7268 and 7278 set top box
chips.
v2: no changes
v3: move to gpu/, fix typo
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180430181058.30181-2-eric@anholt.net
Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt b/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt new file mode 100644 index 000000000000..c907aa8dd755 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | Broadcom V3D GPU | ||
2 | |||
3 | Only the Broadcom V3D 3.x and newer GPUs are covered by this binding. | ||
4 | For V3D 2.x, see brcm,bcm-vc4.txt. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: Should be "brcm,7268-v3d" or "brcm,7278-v3d" | ||
8 | - reg: Physical base addresses and lengths of the register areas | ||
9 | - reg-names: Names for the register areas. The "hub", "bridge", and "core0" | ||
10 | register areas are always required. The "gca" register area | ||
11 | is required if the GCA cache controller is present. | ||
12 | - interrupts: The interrupt numbers. The first interrupt is for the hub, | ||
13 | while the following interrupts are for the cores. | ||
14 | See bindings/interrupt-controller/interrupts.txt | ||
15 | |||
16 | Optional properties: | ||
17 | - clocks: The core clock the unit runs on | ||
18 | |||
19 | v3d { | ||
20 | compatible = "brcm,7268-v3d"; | ||
21 | reg = <0xf1204000 0x100>, | ||
22 | <0xf1200000 0x4000>, | ||
23 | <0xf1208000 0x4000>, | ||
24 | <0xf1204100 0x100>; | ||
25 | reg-names = "bridge", "hub", "core0", "gca"; | ||
26 | interrupts = <0 78 4>, | ||
27 | <0 77 4>; | ||
28 | }; | ||