Back to home page

OSCL-LXR

 
 

    


0001 Hisilicon PWM controller
0002 
0003 Required properties:
0004 -compatible: should contain one SoC specific compatible string
0005  The SoC specific strings supported including:
0006         "hisilicon,hi3516cv300-pwm"
0007         "hisilicon,hi3519v100-pwm"
0008         "hisilicon,hi3559v100-shub-pwm"
0009         "hisilicon,hi3559v100-pwm
0010 - reg: physical base address and length of the controller's registers.
0011 - clocks: phandle and clock specifier of the PWM reference clock.
0012 - resets: phandle and reset specifier for the PWM controller reset.
0013 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
0014   the cells format.
0015 
0016 Example:
0017         pwm: pwm@12130000 {
0018                 compatible = "hisilicon,hi3516cv300-pwm";
0019                 reg = <0x12130000 0x10000>;
0020                 clocks = <&crg_ctrl HI3516CV300_PWM_CLK>;
0021                 resets = <&crg_ctrl 0x38 0>;
0022                 #pwm-cells = <3>;
0023         };