15484ea92SNicolas Frattaroli# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25484ea92SNicolas Frattaroli 35484ea92SNicolas Frattaroli%YAML 1.2 45484ea92SNicolas Frattaroli--- 5ab190665SRob Herring$id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml# 6ab190665SRob 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 20*b92346d2SEmmanuel Gil Peyrot - rockchip,rk3588-vepu121 215484ea92SNicolas Frattaroli 225484ea92SNicolas Frattaroli reg: 235484ea92SNicolas Frattaroli maxItems: 1 245484ea92SNicolas Frattaroli 255484ea92SNicolas Frattaroli interrupts: 265484ea92SNicolas Frattaroli maxItems: 1 275484ea92SNicolas Frattaroli 285484ea92SNicolas Frattaroli clocks: 295484ea92SNicolas Frattaroli maxItems: 2 305484ea92SNicolas Frattaroli 315484ea92SNicolas Frattaroli clock-names: 325484ea92SNicolas Frattaroli items: 335484ea92SNicolas Frattaroli - const: aclk 345484ea92SNicolas Frattaroli - const: hclk 355484ea92SNicolas Frattaroli 365484ea92SNicolas Frattaroli power-domains: 375484ea92SNicolas Frattaroli maxItems: 1 385484ea92SNicolas Frattaroli 395484ea92SNicolas Frattaroli iommus: 405484ea92SNicolas Frattaroli maxItems: 1 415484ea92SNicolas Frattaroli 425484ea92SNicolas Frattarolirequired: 435484ea92SNicolas Frattaroli - compatible 445484ea92SNicolas Frattaroli - reg 455484ea92SNicolas Frattaroli - interrupts 465484ea92SNicolas Frattaroli - clocks 475484ea92SNicolas Frattaroli - clock-names 485484ea92SNicolas Frattaroli 495484ea92SNicolas FrattaroliadditionalProperties: false 505484ea92SNicolas Frattaroli 515484ea92SNicolas Frattaroliexamples: 525484ea92SNicolas Frattaroli - | 535484ea92SNicolas Frattaroli #include <dt-bindings/clock/rk3568-cru.h> 545484ea92SNicolas Frattaroli #include <dt-bindings/interrupt-controller/arm-gic.h> 555484ea92SNicolas Frattaroli #include <dt-bindings/power/rk3568-power.h> 565484ea92SNicolas Frattaroli 575484ea92SNicolas Frattaroli bus { 585484ea92SNicolas Frattaroli #address-cells = <2>; 595484ea92SNicolas Frattaroli #size-cells = <2>; 605484ea92SNicolas Frattaroli 615484ea92SNicolas Frattaroli vepu: video-codec@fdee0000 { 625484ea92SNicolas Frattaroli compatible = "rockchip,rk3568-vepu"; 635484ea92SNicolas Frattaroli reg = <0x0 0xfdee0000 0x0 0x800>; 645484ea92SNicolas Frattaroli interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; 655484ea92SNicolas Frattaroli clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>; 665484ea92SNicolas Frattaroli clock-names = "aclk", "hclk"; 675484ea92SNicolas Frattaroli iommus = <&vepu_mmu>; 685484ea92SNicolas Frattaroli power-domains = <&power RK3568_PD_RGA>; 695484ea92SNicolas Frattaroli }; 705484ea92SNicolas Frattaroli }; 71