xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pwm/lpc1850-sct-pwm.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* NXP LPC18xx State Configurable Timer - Pulse Width Modulator driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible: Should be "nxp,lpc1850-sct-pwm"
5*4882a593Smuzhiyun  - reg: Should contain physical base address and length of pwm registers.
6*4882a593Smuzhiyun  - clocks: Must contain an entry for each entry in clock-names.
7*4882a593Smuzhiyun    See ../clock/clock-bindings.txt for details.
8*4882a593Smuzhiyun  - clock-names: Must include the following entries.
9*4882a593Smuzhiyun    - pwm: PWM operating clock.
10*4882a593Smuzhiyun  - #pwm-cells: Should be 3. See pwm.yaml in this directory for the description
11*4882a593Smuzhiyun    of the cells format.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun  pwm: pwm@40000000 {
15*4882a593Smuzhiyun    compatible = "nxp,lpc1850-sct-pwm";
16*4882a593Smuzhiyun    reg = <0x40000000 0x1000>;
17*4882a593Smuzhiyun    clocks =<&ccu1 CLK_CPU_SCT>;
18*4882a593Smuzhiyun    clock-names = "pwm";
19*4882a593Smuzhiyun    #pwm-cells = <3>;
20*4882a593Smuzhiyun  };
21