Commit | Line | Data |
---|---|---|
9c959bfe NT |
1 | *Imagination Technologies PWM DAC driver |
2 | ||
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.txt 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. | |
15 | ||
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 | }; |