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