18c2ecf20Sopenharmony_ciMarvell PWM controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: should be one or more of: 58c2ecf20Sopenharmony_ci - "marvell,pxa250-pwm" 68c2ecf20Sopenharmony_ci - "marvell,pxa270-pwm" 78c2ecf20Sopenharmony_ci - "marvell,pxa168-pwm" 88c2ecf20Sopenharmony_ci - "marvell,pxa910-pwm" 98c2ecf20Sopenharmony_ci- reg: Physical base address and length of the registers used by the PWM channel 108c2ecf20Sopenharmony_ci Note that one device instance must be created for each PWM that is used, so the 118c2ecf20Sopenharmony_ci length covers only the register window for one PWM output, not that of the 128c2ecf20Sopenharmony_ci entire PWM controller. Currently length is 0x10 for all supported devices. 138c2ecf20Sopenharmony_ci- #pwm-cells: Should be 1. This cell is used to specify the period in 148c2ecf20Sopenharmony_ci nanoseconds. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciExample PWM device node: 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_cipwm0: pwm@40b00000 { 198c2ecf20Sopenharmony_ci compatible = "marvell,pxa250-pwm"; 208c2ecf20Sopenharmony_ci reg = <0x40b00000 0x10>; 218c2ecf20Sopenharmony_ci #pwm-cells = <1>; 228c2ecf20Sopenharmony_ci}; 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciExample PWM client node: 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_cibacklight { 278c2ecf20Sopenharmony_ci compatible = "pwm-backlight"; 288c2ecf20Sopenharmony_ci pwms = <&pwm0 5000000>; 298c2ecf20Sopenharmony_ci ... 308c2ecf20Sopenharmony_ci} 31