summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm/mxs-pwm.txt
blob: 48ead0db178cb9cef260e8749dfc9199d6c5d682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Freescale MXS PWM controller

Required properties:
- compatible: should be "fsl,mxs-pwm"
- reg: physical base address and length of the controller's registers
- #pwm-cells: should be 2.  The first cell specifies the per-chip index
  of the PWM to use and the second cell is the duty cycle in nanoseconds.
- fsl,pwm-number: the number of PWM devices

Example:

pwm: pwm@80064000 {
	compatible = "fsl,imx28-pwm", "fsl,mxs-pwm";
	reg = <0x80064000 2000>;
	#pwm-cells = <2>;
	fsl,pwm-number = <8>;
};