xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/pxa-pwm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1Marvell PWM controller
2
3Required properties:
4- compatible: should be one or more of:
5  - "marvell,pxa250-pwm"
6  - "marvell,pxa270-pwm"
7  - "marvell,pxa168-pwm"
8  - "marvell,pxa910-pwm"
9- reg: Physical base address and length of the registers used by the PWM channel
10  Note that one device instance must be created for each PWM that is used, so the
11  length covers only the register window for one PWM output, not that of the
12  entire PWM controller.  Currently length is 0x10 for all supported devices.
13- #pwm-cells: Should be 1.  This cell is used to specify the period in
14  nanoseconds.
15
16Example PWM device node:
17
18pwm0: pwm@40b00000 {
19	compatible = "marvell,pxa250-pwm";
20	reg = <0x40b00000 0x10>;
21	#pwm-cells = <1>;
22};
23
24Example PWM client node:
25
26backlight {
27	compatible = "pwm-backlight";
28	pwms = <&pwm0 5000000>;
29	...
30}
31