xref: /linux/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml (revision ab190665276b8fac178663753f0a745156fcc0f5)
15484ea92SNicolas Frattaroli# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25484ea92SNicolas Frattaroli
35484ea92SNicolas Frattaroli%YAML 1.2
45484ea92SNicolas Frattaroli---
5*ab190665SRob Herring$id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml#
6*ab190665SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
75484ea92SNicolas Frattaroli
85484ea92SNicolas Frattarolititle: Hantro G1 VPU encoders implemented on Rockchip SoCs
95484ea92SNicolas Frattaroli
105484ea92SNicolas Frattarolimaintainers:
115484ea92SNicolas Frattaroli  - Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
125484ea92SNicolas Frattaroli
135484ea92SNicolas Frattarolidescription:
145484ea92SNicolas Frattaroli  Hantro G1 video encode-only accelerators present on Rockchip SoCs.
155484ea92SNicolas Frattaroli
165484ea92SNicolas Frattaroliproperties:
175484ea92SNicolas Frattaroli  compatible:
185484ea92SNicolas Frattaroli    enum:
195484ea92SNicolas Frattaroli      - rockchip,rk3568-vepu
205484ea92SNicolas Frattaroli
215484ea92SNicolas Frattaroli  reg:
225484ea92SNicolas Frattaroli    maxItems: 1
235484ea92SNicolas Frattaroli
245484ea92SNicolas Frattaroli  interrupts:
255484ea92SNicolas Frattaroli    maxItems: 1
265484ea92SNicolas Frattaroli
275484ea92SNicolas Frattaroli  clocks:
285484ea92SNicolas Frattaroli    maxItems: 2
295484ea92SNicolas Frattaroli
305484ea92SNicolas Frattaroli  clock-names:
315484ea92SNicolas Frattaroli    items:
325484ea92SNicolas Frattaroli      - const: aclk
335484ea92SNicolas Frattaroli      - const: hclk
345484ea92SNicolas Frattaroli
355484ea92SNicolas Frattaroli  power-domains:
365484ea92SNicolas Frattaroli    maxItems: 1
375484ea92SNicolas Frattaroli
385484ea92SNicolas Frattaroli  iommus:
395484ea92SNicolas Frattaroli    maxItems: 1
405484ea92SNicolas Frattaroli
415484ea92SNicolas Frattarolirequired:
425484ea92SNicolas Frattaroli  - compatible
435484ea92SNicolas Frattaroli  - reg
445484ea92SNicolas Frattaroli  - interrupts
455484ea92SNicolas Frattaroli  - clocks
465484ea92SNicolas Frattaroli  - clock-names
475484ea92SNicolas Frattaroli
485484ea92SNicolas FrattaroliadditionalProperties: false
495484ea92SNicolas Frattaroli
505484ea92SNicolas Frattaroliexamples:
515484ea92SNicolas Frattaroli  - |
525484ea92SNicolas Frattaroli    #include <dt-bindings/clock/rk3568-cru.h>
535484ea92SNicolas Frattaroli    #include <dt-bindings/interrupt-controller/arm-gic.h>
545484ea92SNicolas Frattaroli    #include <dt-bindings/power/rk3568-power.h>
555484ea92SNicolas Frattaroli
565484ea92SNicolas Frattaroli    bus {
575484ea92SNicolas Frattaroli        #address-cells = <2>;
585484ea92SNicolas Frattaroli        #size-cells = <2>;
595484ea92SNicolas Frattaroli
605484ea92SNicolas Frattaroli        vepu: video-codec@fdee0000 {
615484ea92SNicolas Frattaroli            compatible = "rockchip,rk3568-vepu";
625484ea92SNicolas Frattaroli            reg = <0x0 0xfdee0000 0x0 0x800>;
635484ea92SNicolas Frattaroli            interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
645484ea92SNicolas Frattaroli            clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>;
655484ea92SNicolas Frattaroli            clock-names = "aclk", "hclk";
665484ea92SNicolas Frattaroli            iommus = <&vepu_mmu>;
675484ea92SNicolas Frattaroli            power-domains = <&power RK3568_PD_RGA>;
685484ea92SNicolas Frattaroli        };
695484ea92SNicolas Frattaroli    };
70