xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/pwm-hibvt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotHisilicon PWM controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot-compatible: should contain one SoC specific compatible string
5*c66ec88fSEmmanuel Vadot The SoC specific strings supported including:
6*c66ec88fSEmmanuel Vadot	"hisilicon,hi3516cv300-pwm"
7*c66ec88fSEmmanuel Vadot	"hisilicon,hi3519v100-pwm"
8*c66ec88fSEmmanuel Vadot	"hisilicon,hi3559v100-shub-pwm"
9*c66ec88fSEmmanuel Vadot	"hisilicon,hi3559v100-pwm
10*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the controller's registers.
11*c66ec88fSEmmanuel Vadot- clocks: phandle and clock specifier of the PWM reference clock.
12*c66ec88fSEmmanuel Vadot- resets: phandle and reset specifier for the PWM controller reset.
13*c66ec88fSEmmanuel Vadot- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
14*c66ec88fSEmmanuel Vadot  the cells format.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot	pwm: pwm@12130000 {
18*c66ec88fSEmmanuel Vadot		compatible = "hisilicon,hi3516cv300-pwm";
19*c66ec88fSEmmanuel Vadot		reg = <0x12130000 0x10000>;
20*c66ec88fSEmmanuel Vadot		clocks = <&crg_ctrl HI3516CV300_PWM_CLK>;
21*c66ec88fSEmmanuel Vadot		resets = <&crg_ctrl 0x38 0>;
22*c66ec88fSEmmanuel Vadot		#pwm-cells = <3>;
23*c66ec88fSEmmanuel Vadot	};
24