xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBroadcom Kona PWM controller device tree bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis controller has 6 channels.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired Properties :
6*4882a593Smuzhiyun- compatible: should contain "brcm,kona-pwm"
7*4882a593Smuzhiyun- reg: physical base address and length of the controller's registers
8*4882a593Smuzhiyun- clocks: phandle + clock specifier pair for the external clock
9*4882a593Smuzhiyun- #pwm-cells: Should be 3. See pwm.yaml in this directory for a
10*4882a593Smuzhiyun  description of the cells format.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunRefer to clocks/clock-bindings.txt for generic clock consumer properties.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunpwm: pwm@3e01a000 {
17*4882a593Smuzhiyun	compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm";
18*4882a593Smuzhiyun	reg = <0x3e01a000 0xc4>;
19*4882a593Smuzhiyun	clocks = <&pwm_clk>;
20*4882a593Smuzhiyun	#pwm-cells = <3>;
21*4882a593Smuzhiyun};
22