Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | "hisilicon,hi3559v100-shub-pwm" |
| 9 | "hisilicon,hi3559v100-pwm |
| 10 | - reg: physical base address and length of the controller's registers. |
| 11 | - clocks: phandle and clock specifier of the PWM reference clock. |
| 12 | - resets: phandle and reset specifier for the PWM controller reset. |
| 13 | - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of |
| 14 | the cells format. |
| 15 | |
| 16 | Example: |
| 17 | pwm: pwm@12130000 { |
| 18 | compatible = "hisilicon,hi3516cv300-pwm"; |
| 19 | reg = <0x12130000 0x10000>; |
| 20 | clocks = <&crg_ctrl HI3516CV300_PWM_CLK>; |
| 21 | resets = <&crg_ctrl 0x38 0>; |
| 22 | #pwm-cells = <3>; |
| 23 | }; |