WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pwm / img-pwm.txt
blob9db6de97317d86f35433212846f0694b85cf1dde
1 *Imagination Technologies PWM DAC driver
3 Required properties:
4   - compatible: Should be "img,pistachio-pwm"
5   - reg: Should contain physical base address and length of pwm registers.
6   - clocks: Must contain an entry for each entry in clock-names.
7         See ../clock/clock-bindings.txt for details.
8   - clock-names: Must include the following entries.
9     - pwm: PWM operating clock.
10     - sys: PWM system interface clock.
11   - #pwm-cells: Should be 2. See pwm.yaml in this directory for the
12         description of the cells format.
13   - img,cr-periph: Must contain a phandle to the peripheral control
14         syscon node which contains PWM control registers.
16 Example:
17         pwm: pwm@18101300 {
18                 compatible = "img,pistachio-pwm";
19                 reg = <0x18101300 0x100>;
20                 clocks = <&pwm_clk>, <&system_clk>;
21                 clock-names = "pwm", "sys";
22                 #pwm-cells = <2>;
23                 img,cr-periph = <&cr_periph>;
24         };