|
| 1 | +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | +%YAML 1.2 |
| 3 | +--- |
| 4 | +$id: http://devicetree.org/schemas/media/raspberrypi,hevc-dec.yaml# |
| 5 | +$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | + |
| 7 | +title: Raspberry Pi HEVC Decoder |
| 8 | + |
| 9 | +maintainers: |
| 10 | + - John Cox <john.cox@raspberrypi.com> |
| 11 | + - Dom Cobley <dom@raspberrypi.com> |
| 12 | + - Dave Stevenson <dave.stevenson@raspberrypi.com> |
| 13 | + - Raspberry Pi internal review list <kernel-list@raspberrypi.com> |
| 14 | + |
| 15 | +description: |
| 16 | + The Raspberry Pi HEVC decoder is a hardware video decode accelerator block |
| 17 | + found in the BCM2711 and BCM2712 processors used on Raspberry Pi 4 and 5 |
| 18 | + boards respectively. |
| 19 | + |
| 20 | +properties: |
| 21 | + compatible: |
| 22 | + items: |
| 23 | + - enum: |
| 24 | + - brcm,bcm2711-hevc-dec |
| 25 | + - brcm,bcm2712-hevc-dec |
| 26 | + - const: raspberrypi,hevc-dec |
| 27 | + |
| 28 | + reg: |
| 29 | + items: |
| 30 | + - description: The HEVC main register region |
| 31 | + - description: The Interrupt control register region |
| 32 | + |
| 33 | + reg-names: |
| 34 | + items: |
| 35 | + - const: hevc |
| 36 | + - const: intc |
| 37 | + |
| 38 | + interrupts: |
| 39 | + maxItems: 1 |
| 40 | + |
| 41 | + clocks: |
| 42 | + items: |
| 43 | + - description: The HEVC block clock |
| 44 | + |
| 45 | +required: |
| 46 | + - compatible |
| 47 | + - reg |
| 48 | + - reg-names |
| 49 | + - interrupts |
| 50 | + - clocks |
| 51 | + |
| 52 | +additionalProperties: false |
| 53 | + |
| 54 | +examples: |
| 55 | + - | |
| 56 | + #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 57 | +
|
| 58 | + video-codec@7eb10000 { |
| 59 | + compatible = "brcm,bcm2711-hevc-dec", "raspberrypi,hevc-dec"; |
| 60 | + reg = <0x7eb00000 0x10000>, /* HEVC */ |
| 61 | + <0x7eb10000 0x1000>; /* INTC */ |
| 62 | + reg-names = "hevc", |
| 63 | + "intc"; |
| 64 | +
|
| 65 | + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
| 66 | +
|
| 67 | + clocks = <&clk 0>; |
| 68 | + }; |
| 69 | +
|
| 70 | +... |
0 commit comments