xref: /freebsd/sys/contrib/device-tree/Bindings/media/st,st-hva.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadotst-hva: multi-format video encoder for STMicroelectronics SoC.
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: should be "st,st-hva".
5*c66ec88fSEmmanuel Vadot- reg: HVA physical address location and length, esram address location and
6*c66ec88fSEmmanuel Vadot  length.
7*c66ec88fSEmmanuel Vadot- reg-names: names of the registers listed in registers property in the same
8*c66ec88fSEmmanuel Vadot  order.
9*c66ec88fSEmmanuel Vadot- interrupts: HVA interrupt number.
10*c66ec88fSEmmanuel Vadot- clocks: from common clock binding: handle hardware IP needed clocks, the
11*c66ec88fSEmmanuel Vadot  number of clocks may depend on the SoC type.
12*c66ec88fSEmmanuel Vadot  See ../clock/clock-bindings.txt for details.
13*c66ec88fSEmmanuel Vadot- clock-names: names of the clocks listed in clocks property in the same order.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot	hva@8c85000{
17*c66ec88fSEmmanuel Vadot		compatible = "st,st-hva";
18*c66ec88fSEmmanuel Vadot		reg = <0x8c85000 0x400>, <0x6000000 0x40000>;
19*c66ec88fSEmmanuel Vadot		reg-names = "hva_registers", "hva_esram";
20*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 58 IRQ_TYPE_NONE>,
21*c66ec88fSEmmanuel Vadot			     <GIC_SPI 59 IRQ_TYPE_NONE>;
22*c66ec88fSEmmanuel Vadot		clock-names = "clk_hva";
23*c66ec88fSEmmanuel Vadot		clocks = <&clk_s_c0_flexgen CLK_HVA>;
24*c66ec88fSEmmanuel Vadot	};
25