1*4882a593SmuzhiyunMarvell PWM controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: should be one or more of: 5*4882a593Smuzhiyun - "marvell,pxa250-pwm" 6*4882a593Smuzhiyun - "marvell,pxa270-pwm" 7*4882a593Smuzhiyun - "marvell,pxa168-pwm" 8*4882a593Smuzhiyun - "marvell,pxa910-pwm" 9*4882a593Smuzhiyun- reg: Physical base address and length of the registers used by the PWM channel 10*4882a593Smuzhiyun Note that one device instance must be created for each PWM that is used, so the 11*4882a593Smuzhiyun length covers only the register window for one PWM output, not that of the 12*4882a593Smuzhiyun entire PWM controller. Currently length is 0x10 for all supported devices. 13*4882a593Smuzhiyun- #pwm-cells: Should be 1. This cell is used to specify the period in 14*4882a593Smuzhiyun nanoseconds. 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunExample PWM device node: 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunpwm0: pwm@40b00000 { 19*4882a593Smuzhiyun compatible = "marvell,pxa250-pwm"; 20*4882a593Smuzhiyun reg = <0x40b00000 0x10>; 21*4882a593Smuzhiyun #pwm-cells = <1>; 22*4882a593Smuzhiyun}; 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunExample PWM client node: 25*4882a593Smuzhiyun 26*4882a593Smuzhiyunbacklight { 27*4882a593Smuzhiyun compatible = "pwm-backlight"; 28*4882a593Smuzhiyun pwms = <&pwm0 5000000>; 29*4882a593Smuzhiyun ... 30*4882a593Smuzhiyun} 31