1 * NXP LPC18xx State Configurable Timer - Pulse 1 * NXP LPC18xx State Configurable Timer - Pulse Width Modulator driver 2 2 3 Required properties: 3 Required properties: 4 - compatible: Should be "nxp,lpc1850-sct-pwm 4 - compatible: Should be "nxp,lpc1850-sct-pwm" 5 - reg: Should contain physical base address 5 - reg: Should contain physical base address and length of pwm registers. 6 - clocks: Must contain an entry for each ent 6 - clocks: Must contain an entry for each entry in clock-names. 7 See ../clock/clock-bindings.txt for detail 7 See ../clock/clock-bindings.txt for details. 8 - clock-names: Must include the following en 8 - clock-names: Must include the following entries. 9 - pwm: PWM operating clock. 9 - pwm: PWM operating clock. 10 - #pwm-cells: Should be 3. See pwm.yaml in t 10 - #pwm-cells: Should be 3. See pwm.yaml in this directory for the description 11 of the cells format. 11 of the cells format. 12 12 13 Example: 13 Example: 14 pwm: pwm@40000000 { 14 pwm: pwm@40000000 { 15 compatible = "nxp,lpc1850-sct-pwm"; 15 compatible = "nxp,lpc1850-sct-pwm"; 16 reg = <0x40000000 0x1000>; 16 reg = <0x40000000 0x1000>; 17 clocks =<&ccu1 CLK_CPU_SCT>; 17 clocks =<&ccu1 CLK_CPU_SCT>; 18 clock-names = "pwm"; 18 clock-names = "pwm"; 19 #pwm-cells = <3>; 19 #pwm-cells = <3>; 20 }; 20 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.