1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot 3b97ee269SEmmanuel Vadot%YAML 1.2 4b97ee269SEmmanuel Vadot--- 5fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml# 6fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7b97ee269SEmmanuel Vadot 8b97ee269SEmmanuel Vadottitle: Hantro G1 VPU encoders implemented on Rockchip SoCs 9b97ee269SEmmanuel Vadot 10b97ee269SEmmanuel Vadotmaintainers: 11b97ee269SEmmanuel Vadot - Nicolas Frattaroli <frattaroli.nicolas@gmail.com> 12b97ee269SEmmanuel Vadot 13b97ee269SEmmanuel Vadotdescription: 14b97ee269SEmmanuel Vadot Hantro G1 video encode-only accelerators present on Rockchip SoCs. 15b97ee269SEmmanuel Vadot 16b97ee269SEmmanuel Vadotproperties: 17b97ee269SEmmanuel Vadot compatible: 18b97ee269SEmmanuel Vadot enum: 19b97ee269SEmmanuel Vadot - rockchip,rk3568-vepu 20*b2d2a78aSEmmanuel Vadot - rockchip,rk3588-vepu121 21b97ee269SEmmanuel Vadot 22b97ee269SEmmanuel Vadot reg: 23b97ee269SEmmanuel Vadot maxItems: 1 24b97ee269SEmmanuel Vadot 25b97ee269SEmmanuel Vadot interrupts: 26b97ee269SEmmanuel Vadot maxItems: 1 27b97ee269SEmmanuel Vadot 28b97ee269SEmmanuel Vadot clocks: 29b97ee269SEmmanuel Vadot maxItems: 2 30b97ee269SEmmanuel Vadot 31b97ee269SEmmanuel Vadot clock-names: 32b97ee269SEmmanuel Vadot items: 33b97ee269SEmmanuel Vadot - const: aclk 34b97ee269SEmmanuel Vadot - const: hclk 35b97ee269SEmmanuel Vadot 36b97ee269SEmmanuel Vadot power-domains: 37b97ee269SEmmanuel Vadot maxItems: 1 38b97ee269SEmmanuel Vadot 39b97ee269SEmmanuel Vadot iommus: 40b97ee269SEmmanuel Vadot maxItems: 1 41b97ee269SEmmanuel Vadot 42b97ee269SEmmanuel Vadotrequired: 43b97ee269SEmmanuel Vadot - compatible 44b97ee269SEmmanuel Vadot - reg 45b97ee269SEmmanuel Vadot - interrupts 46b97ee269SEmmanuel Vadot - clocks 47b97ee269SEmmanuel Vadot - clock-names 48b97ee269SEmmanuel Vadot 49b97ee269SEmmanuel VadotadditionalProperties: false 50b97ee269SEmmanuel Vadot 51b97ee269SEmmanuel Vadotexamples: 52b97ee269SEmmanuel Vadot - | 53b97ee269SEmmanuel Vadot #include <dt-bindings/clock/rk3568-cru.h> 54b97ee269SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 55b97ee269SEmmanuel Vadot #include <dt-bindings/power/rk3568-power.h> 56b97ee269SEmmanuel Vadot 57b97ee269SEmmanuel Vadot bus { 58b97ee269SEmmanuel Vadot #address-cells = <2>; 59b97ee269SEmmanuel Vadot #size-cells = <2>; 60b97ee269SEmmanuel Vadot 61b97ee269SEmmanuel Vadot vepu: video-codec@fdee0000 { 62b97ee269SEmmanuel Vadot compatible = "rockchip,rk3568-vepu"; 63b97ee269SEmmanuel Vadot reg = <0x0 0xfdee0000 0x0 0x800>; 64b97ee269SEmmanuel Vadot interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; 65b97ee269SEmmanuel Vadot clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>; 66b97ee269SEmmanuel Vadot clock-names = "aclk", "hclk"; 67b97ee269SEmmanuel Vadot iommus = <&vepu_mmu>; 68b97ee269SEmmanuel Vadot power-domains = <&power RK3568_PD_RGA>; 69b97ee269SEmmanuel Vadot }; 70b97ee269SEmmanuel Vadot }; 71