d09f0081 |
1 | Hisilicon PWM controller |
2 | |
3 | Required properties: |
4 | -compatible: should contain one SoC specific compatible string |
5 | The SoC specific strings supported including: |
6 | "hisilicon,hi3516cv300-pwm" |
7 | "hisilicon,hi3519v100-pwm" |
8 | - reg: physical base address and length of the controller's registers. |
9 | - clocks: phandle and clock specifier of the PWM reference clock. |
10 | - resets: phandle and reset specifier for the PWM controller reset. |
11 | - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of |
12 | the cells format. |
13 | |
14 | Example: |
15 | pwm: pwm@12130000 { |
16 | compatible = "hisilicon,hi3516cv300-pwm"; |
17 | reg = <0x12130000 0x10000>; |
18 | clocks = <&crg_ctrl HI3516CV300_PWM_CLK>; |
19 | resets = <&crg_ctrl 0x38 0>; |
20 | #pwm-cells = <3>; |
21 | }; |