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