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