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