blob: 54dbc2a0e64806f7b02cc6ef4c8e269b79fa981e [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Hisilicon PWM controller
2
3Required 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
16Example:
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 };