xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/brcm,iproc-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom iProc PWM controller device tree bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis controller has 4 channels.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired Properties :
6*c66ec88fSEmmanuel Vadot- compatible: must be "brcm,iproc-pwm"
7*c66ec88fSEmmanuel Vadot- reg: physical base address and length of the controller's registers
8*c66ec88fSEmmanuel Vadot- clocks: phandle + clock specifier pair for the external clock
9*c66ec88fSEmmanuel Vadot- #pwm-cells: Should be 3. See pwm.yaml in this directory for a
10*c66ec88fSEmmanuel Vadot  description of the cells format.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotRefer to clocks/clock-bindings.txt for generic clock consumer properties.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotpwm: pwm@18031000 {
17*c66ec88fSEmmanuel Vadot	compatible = "brcm,iproc-pwm";
18*c66ec88fSEmmanuel Vadot	reg = <0x18031000 0x28>;
19*c66ec88fSEmmanuel Vadot	clocks = <&osc>;
20*c66ec88fSEmmanuel Vadot	#pwm-cells = <3>;
21*c66ec88fSEmmanuel Vadot};
22